Collective\Annotations\Routing\Annotations\MethodEndpoint::getMiddleware PHP Метод

getMiddleware() защищенный Метод

Get the middleware for the path.
protected getMiddleware ( AbstractPath $path ) : array
$path AbstractPath
Результат array
    protected function getMiddleware(AbstractPath $path)
    {
        $classMiddleware = $this->getClassMiddlewareForPath($path)->all();
        return $this->implodeArray(array_merge($classMiddleware, $path->middleware, $this->middleware));
    }