PHP Class Tebru\Retrofit\Annotation\HttpRequest

Author: Nate Brunette ([email protected])
Inheritance: implements Tebru\Dynamo\Annotation\DynamoAnnotation
Afficher le fichier Open project: tebru/retrofit-php Class Usage Examples

Méthodes publiques

Méthode Description
__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)

Method Details

__construct() public méthode

Constructor
public __construct ( array $params )
$params array

allowMultiple() public méthode

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

getName() public méthode

The name of the annotation or class of annotations
public getName ( ) : string
Résultat string

getParameters() public méthode

Get the method parameters
public getParameters ( ) : array
Résultat array

getPath() public méthode

Get the url path
public getPath ( ) : string
Résultat string

getQueries() public méthode

Get the query parameters
public getQueries ( ) : array
Résultat array

getType() abstract public méthode

Returns the type of the annotation (get, post, put, etc)
abstract public getType ( ) : string
Résultat string