PHP Class Tebru\Retrofit\Annotation\Part

This annotation defines a method parameter that will be added as a part of the request. If the variable name differs from the desired part name, you may specify a different variable name using the var= parameter on this annotation. You can define multiple of these annotations for multiple variable parts.
Author: Nate Brunette ([email protected])
Inheritance: extends VariableMapper, implements Tebru\Dynamo\Annotation\DynamoAnnotation
Exibir arquivo Open project: tebru/retrofit-php Class Usage Examples

Public Methods

Method Description
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

Method Details

allowMultiple() public method

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

getName() public method

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