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

Автор: 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
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