Class HttpContextReader
Class HttpContextReader
- HttpContextReader implements HttpContextReaderInterface
Package: Http
Category: System
Implements: HttpContextReaderInterface
Located at Services/System/Http/HttpContextReader.inc.php
Category: System
Implements: HttpContextReaderInterface
Located at Services/System/Http/HttpContextReader.inc.php
Methods summary
public
getControllerName( HttpContextInterface $httpContext )
: string
Returns the controller name for current http request context.
public
getActionName( HttpContextInterface $httpContext )
: string
Returns the name of the action method for the current http context.
public
getQueryParameters( HttpContextInterface $httpContext )
: array
Returns an array which represents the global $_GET variable of the current http context.
public
getPostData( HttpContextInterface $httpContext )
: array
Returns an array which represents the global $_POST variable of the current http context.
public
getServerData( HttpContextInterface $httpContext )
: array
Returns an array which represents the global $_SERVER variable of the current http context.