PHP 클래스 Adamgoose\Routing\Annotations\Annotations\Resource

상속: extends Annotation
파일 보기 프로젝트 열기: adamgoose/laravel-annotations

보호된 프로퍼티들

프로퍼티 타입 설명
$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