PHP Class Tebru\Retrofit\Annotation\Headers

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

Public Methods

Method 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 method

Constructor
public __construct ( array $params )
$params array

allowMultiple() public method

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

getHeaders() public method

Get the headers
public getHeaders ( ) : array
return array

getName() public method

The name of the annotation or class of annotations
public getName ( ) : string
return string