PHP Класс Adamgoose\Routing\Annotations\Annotations\Resource

Наследование: extends Annotation
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$methods array All of the resource controller methods.

Открытые методы

Метод Описание
modifyCollection ( EndpointCollection $endpoints, ReflectionClass $class )

Защищенные методы

Метод Описание
extractFromEndpoints ( EndpointCollection $endpoints, string $key ) : array Extract method items from endpoints for the given key.
getEndpointsWithResourceMethods ( EndpointCollection $endpoints ) : array Get all of the resource method endpoints with pathless filters.
getMiddleware ( EndpointCollection $endpoints ) : array Get all of the middleware defined on the resource method endpoints.

Описание методов

extractFromEndpoints() защищенный метод

Extract method items from endpoints for the given key.
protected extractFromEndpoints ( EndpointCollection $endpoints, string $key ) : array
$endpoints Adamgoose\Routing\Annotations\EndpointCollection
$key string
Результат array

getEndpointsWithResourceMethods() защищенный метод

Get all of the resource method endpoints with pathless filters.
protected getEndpointsWithResourceMethods ( EndpointCollection $endpoints ) : array
$endpoints Adamgoose\Routing\Annotations\EndpointCollection
Результат array

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

Get all of the middleware defined on the resource method endpoints.
protected getMiddleware ( EndpointCollection $endpoints ) : array
$endpoints Adamgoose\Routing\Annotations\EndpointCollection
Результат array

modifyCollection() публичный метод

public modifyCollection ( EndpointCollection $endpoints, ReflectionClass $class )
$endpoints Adamgoose\Routing\Annotations\EndpointCollection
$class ReflectionClass

Описание свойств

$methods защищенное свойство

All of the resource controller methods.
protected array $methods
Результат array