PHP Interface QueryAuth\Request\RequestInterface

Mostrar archivo Open project: jeremykendall/query-auth Interface Usage Examples

Public Methods

Method Description
getHost ( ) : string Get the host of the request
getMethod ( ) : string Get the HTTP method of the request
getParams ( ) : array Gets request parameters
getPath ( ) : string Get the path of the request (e.g. '/', '/index.html')

Method Details

getHost() public method

Get the host of the request
public getHost ( ) : string
return string

getMethod() public method

Get the HTTP method of the request
public getMethod ( ) : string
return string

getParams() public method

Gets request parameters
public getParams ( ) : array
return array

getPath() public method

Get the path of the request (e.g. '/', '/index.html')
public getPath ( ) : string
return string