ice framework documentation ice doc v1.6.2
Methods
  • __construct(string $httpMethod, variable $handler, string $regex, array $variables) : void
    Constructs a route (value object).
  • matches(string $str) : bool
    Tests whether this route matches the given string.
Methods Details
  • public function __construct(string $httpMethod, variable $handler, string $regex, array $variables)

    Constructs a route (value object).
  • public function matches(string $str)

    Tests whether this route matches the given string.