PHP Class Tebru\Retrofit\Annotation\VariableMapper

Parent class for annotation that have a [parameterName => $parameterName] format
Author: Nate Brunette ([email protected])
Datei anzeigen Open project: tebru/retrofit-php Class Usage Examples

Public Methods

Method Description
__construct ( array $params ) Constructor
getRequestKey ( ) : string Get the annotation key
getVariable ( ) : string Get the variable name with '$'
getVariableName ( ) : string Get the variable name

Method Details

__construct() public method

Constructor
public __construct ( array $params )
$params array

getRequestKey() public method

Get the annotation key
public getRequestKey ( ) : string
return string

getVariable() public method

Get the variable name with '$'
public getVariable ( ) : string
return string

getVariableName() public method

Get the variable name
public getVariableName ( ) : string
return string