ice framework documentation ice doc v1.10.1
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.