ManaPHP\Mvc\Router\Group::addPatch PHP 메소드

addPatch() 공개 메소드

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