Свойство | Type | Description | |
---|---|---|---|
$annotations | Annotations belonging to the action. | ||
$reflector | ReflectionMethod | Action reflector instance. | |
$resource | Parent resource of the action. |
Méthode | Description | |
---|---|---|
__construct ( ReflectionMethod $reflector, |
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 ( |
Set the parent resource on the action. |
public __construct ( ReflectionMethod $reflector, |
||
$reflector | ReflectionMethod | |
$annotations | ||
Résultat | void |
public getDefinition ( ) : string | ||
Résultat | string |
public getDescription ( ) : string | null | ||
Résultat | string | null |
public getIdentifier ( ) : string | null | ||
Résultat | string | null |
public getRequest ( ) : Dingo\Blueprint\Annotation\Request | null | ||
Résultat | Dingo\Blueprint\Annotation\Request | null |
public getResponse ( ) : Dingo\Blueprint\Annotation\Response | null | ||
Résultat | Dingo\Blueprint\Annotation\Response | null |
public getTransaction ( ) : Dingo\Blueprint\Annotation\Transaction | null | ||
Résultat | Dingo\Blueprint\Annotation\Transaction | null |
public getVersions ( ) : Dingo\Blueprint\Annotation\Versions | null | ||
Résultat | Dingo\Blueprint\Annotation\Versions | null |
public setResource ( |
||
$resource | ||
Résultat | void |
protected Collection,Illuminate\Support $annotations | ||
Résultat |
protected ReflectionMethod $reflector | ||
Résultat | ReflectionMethod |