PHP Class Tebru\Retrofit\Annotation\Headers

@Headers("Cache-Control: max-age=640000")
Author: Nate Brunette ([email protected])
Inheritance: implements Tebru\Dynamo\Annotation\DynamoAnnotation
Afficher le fichier Open project: tebru/retrofit-php Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $params ) Constructor
allowMultiple ( ) : boolean Whether or not multiple annotations of this type can be added to a method
getHeaders ( ) : array Get the headers
getName ( ) : string The name of the annotation or class of annotations

Method Details

__construct() public méthode

Constructor
public __construct ( array $params )
$params array

allowMultiple() public méthode

Whether or not multiple annotations of this type can be added to a method
public allowMultiple ( ) : boolean
Résultat boolean

getHeaders() public méthode

Get the headers
public getHeaders ( ) : array
Résultat array

getName() public méthode

The name of the annotation or class of annotations
public getName ( ) : string
Résultat string