PHP 클래스 Tebru\Retrofit\Annotation\Headers

@Headers("Cache-Control: max-age=640000")
저자: Nate Brunette ([email protected])
상속: implements Tebru\Dynamo\Annotation\DynamoAnnotation
파일 보기 프로젝트 열기: tebru/retrofit-php 1 사용 예제들

공개 메소드들

메소드 설명
__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