ManaPHP\Mvc\Router\GroupInterface::addOptions PHP Method

addOptions() public method

Add a route to the router that only match if the HTTP method is OPTIONS
public addOptions ( string $pattern, string | array $paths = null ) : ManaPHP\Mvc\Router\RouteInterface
$pattern string
$paths string | array
return ManaPHP\Mvc\Router\RouteInterface
    public function addOptions($pattern, $paths = null);