PHP Класс Dingo\Blueprint\Action

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

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

Свойство Тип Описание
$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