Roller\RouteSet::any PHP Method

any() public method

Add path rule with *ANY* request method
public any ( string $path, mixed $callback, array $options = [] )
$path string
$callback mixed
$options array
    public function any($path, $callback, $options = array())
    {
        $route = null;
        if (function_exists('roller_build_route')) {
            $route = roller_build_route($path, $callback, $options);
        } else {
            $route = $this->_buildRoute($path, $callback, $options);
        }
        return $this->routes[] = $this->routesMap[$route['name']] =& $route;
    }