PHP 클래스 Tebru\Retrofit\Annotation\HttpRequest

저자: 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
getName ( ) : string The name of the annotation or class of annotations
getParameters ( ) : array Get the method parameters
getPath ( ) : string Get the url path
getQueries ( ) : array Get the query parameters
getType ( ) : string Returns the type of the annotation (get, post, put, etc)

메소드 상세

__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

getName() 공개 메소드

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

getParameters() 공개 메소드

Get the method parameters
public getParameters ( ) : array
리턴 array

getPath() 공개 메소드

Get the url path
public getPath ( ) : string
리턴 string

getQueries() 공개 메소드

Get the query parameters
public getQueries ( ) : array
리턴 array

getType() 추상적인 공개 메소드

Returns the type of the annotation (get, post, put, etc)
abstract public getType ( ) : string
리턴 string