Adamgoose\Routing\Annotations\Annotations\Resource::getMiddleware PHP Méthode

getMiddleware() protected méthode

Get all of the middleware defined on the resource method endpoints.
protected getMiddleware ( EndpointCollection $endpoints ) : array
$endpoints Adamgoose\Routing\Annotations\EndpointCollection
Résultat array
    protected function getMiddleware(EndpointCollection $endpoints)
    {
        return $this->extractFromEndpoints($endpoints, 'middleware');
    }