Adamgoose\Routing\Annotations\Annotations\Resource::getMiddleware PHP 메소드

getMiddleware() 보호된 메소드

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