Collective\Annotations\Routing\Annotations\EndpointTrait::getMethodForPath PHP Метод

getMethodForPath() публичный Метод

Get the controller method for the given endpoint path.
public getMethodForPath ( AbstractPath $path ) : string
$path AbstractPath
Результат string
    public function getMethodForPath(AbstractPath $path)
    {
        return $path->method;
    }