PHP Класс Tebru\Retrofit\Annotation\Headers

@Headers("Cache-Control: max-age=640000")
Автор: Nate Brunette ([email protected])
Наследование: implements Tebru\Dynamo\Annotation\DynamoAnnotation
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный метод

Constructor
public __construct ( array $params )
$params array

allowMultiple() публичный метод

Whether or not multiple annotations of this type can be added to a method
public allowMultiple ( ) : boolean
Результат boolean

getHeaders() публичный метод

Get the headers
public getHeaders ( ) : array
Результат array

getName() публичный метод

The name of the annotation or class of annotations
public getName ( ) : string
Результат string