__construct() __construct(string $httpMethod, mixed $handler, string $regex, array $variables) Constructs a route (value object). Parameters string $httpMethod mixed $handler string $regex array $variables
matches() matches(string $str) : boolean Tests whether this route matches the given string. Parameters string $str Returns boolean