ManaPHP\Mvc\Router\Group::addHead PHP Méthode

addHead() public méthode

Adds a route to the router that only match if the HTTP method is HEAD
public addHead ( string $pattern, string | array $paths = null ) : ManaPHP\Mvc\Router\RouteInterface
$pattern string
$paths string | array
Résultat ManaPHP\Mvc\Router\RouteInterface
    public function addHead($pattern, $paths = null)
    {
        return $this->_addRoute($pattern, $paths, 'HEAD');
    }