public setHttpMethods (mixed $httpMethods)
Sets a set of HTTP methods that constraint the matching of the route (alias of via)
$route->setHttpMethods('GET'); $route->setHttpMethods(array('GET', 'POST'));
public setHttpMethods (mixed $httpMethods)
Sets a set of HTTP methods that constraint the matching of the route (alias of via)
$route->setHttpMethods('GET'); $route->setHttpMethods(array('GET', 'POST'));
Please login to continue.