PHP Class Tebru\Retrofit\Annotation\Returns

The default is array. Other acceptable values are raw or any type specified in the Serializer documentation. A raw return will return the API response as a string.
Author: Nate Brunette ([email protected])
Inheritance: implements Tebru\Dynamo\Annotation\DynamoAnnotation
Exibir arquivo Open project: tebru/retrofit-php Class Usage Examples

Public Methods

Method 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
getReturn ( ) : string

Method Details

__construct() public method

Constructor
public __construct ( array $params )
$params array

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

getReturn() public method

public getReturn ( ) : string
return string