PHP Class ZF\Apigility\Admin\Controller\AbstractAuthenticationController

Inheritance: extends Zend\Mvc\Controller\AbstractActionController
Exibir arquivo Open project: zfcampus/zf-apigility-admin

Public Methods

Method Description
setRequest ( Zend\Http\Request $request ) Set the request object manually

Protected Methods

Method Description
getVersion ( Zend\Http\Request $request ) : integer Get the API version from the Accept header

Method Details

getVersion() protected method

Get the API version from the Accept header
protected getVersion ( Zend\Http\Request $request ) : integer
$request Zend\Http\Request
return integer

setRequest() public method

Provided for testing.
public setRequest ( Zend\Http\Request $request )
$request Zend\Http\Request