PHP 클래스 Dingo\Blueprint\Action

상속: extends Section
파일 보기 프로젝트 열기: dingo/blueprint

보호된 프로퍼티들

프로퍼티 타입 설명
$annotations Illuminate\Support\Collection Annotations belonging to the action.
$reflector ReflectionMethod Action reflector instance.
$resource Resource Parent resource of the action.

공개 메소드들

메소드 설명
__construct ( ReflectionMethod $reflector, Collection $annotations ) : void Create a new action instance.
getDefinition ( ) : string Get the actions definition.
getDescription ( ) : string | null Get the actions description.
getIdentifier ( ) : string | null Get the actions identifier.
getMethod ( ) : string Get the actions method.
getRequest ( ) : Dingo\Blueprint\Annotation\Request | null Get the actions request annotation.
getResponse ( ) : Dingo\Blueprint\Annotation\Response | null Get the actions response annotation.
getTransaction ( ) : Dingo\Blueprint\Annotation\Transaction | null Get the actions transaction annotation.
getUri ( ) : string Get the actions URI.
getVersions ( ) : Dingo\Blueprint\Annotation\Versions | null Get the actions version annotation.
setResource ( Resource $resource ) : void Set the parent resource on the action.

메소드 상세

__construct() 공개 메소드

Create a new action instance.
public __construct ( ReflectionMethod $reflector, Collection $annotations ) : void
$reflector ReflectionMethod
$annotations Illuminate\Support\Collection
리턴 void

getDefinition() 공개 메소드

Get the actions definition.
public getDefinition ( ) : string
리턴 string

getDescription() 공개 메소드

Get the actions description.
public getDescription ( ) : string | null
리턴 string | null

getIdentifier() 공개 메소드

Get the actions identifier.
public getIdentifier ( ) : string | null
리턴 string | null

getMethod() 공개 메소드

Get the actions method.
public getMethod ( ) : string
리턴 string

getRequest() 공개 메소드

Get the actions request annotation.
public getRequest ( ) : Dingo\Blueprint\Annotation\Request | null
리턴 Dingo\Blueprint\Annotation\Request | null

getResponse() 공개 메소드

Get the actions response annotation.
public getResponse ( ) : Dingo\Blueprint\Annotation\Response | null
리턴 Dingo\Blueprint\Annotation\Response | null

getTransaction() 공개 메소드

Get the actions transaction annotation.
public getTransaction ( ) : Dingo\Blueprint\Annotation\Transaction | null
리턴 Dingo\Blueprint\Annotation\Transaction | null

getUri() 공개 메소드

Get the actions URI.
public getUri ( ) : string
리턴 string

getVersions() 공개 메소드

Get the actions version annotation.
public getVersions ( ) : Dingo\Blueprint\Annotation\Versions | null
리턴 Dingo\Blueprint\Annotation\Versions | null

setResource() 공개 메소드

Set the parent resource on the action.
public setResource ( Resource $resource ) : void
$resource Resource
리턴 void

프로퍼티 상세

$annotations 보호되어 있는 프로퍼티

Annotations belonging to the action.
protected Collection,Illuminate\Support $annotations
리턴 Illuminate\Support\Collection

$reflector 보호되어 있는 프로퍼티

Action reflector instance.
protected ReflectionMethod $reflector
리턴 ReflectionMethod

$resource 보호되어 있는 프로퍼티

Parent resource of the action.
protected Resource,Dingo\Blueprint $resource
리턴 Resource