Class HttpContextReader
category |
System |
---|---|
package |
Http |
implements |
HttpContextReaderInterface |
getActionName(\HttpContextInterface $httpContext) : string
string
Name of action method for the current http context.
getControllerName(\HttpContextInterface $httpContext) : string
string
Name of controller for the current http context.
getPostData(\HttpContextInterface $httpContext) : array
array
Which holds information equal to the global $_POST variable in an object oriented layer.
getQueryParameters(\HttpContextInterface $httpContext) : array
array
Which holds information equal to the global $_GET variable in an object oriented layer.
getServerData(\HttpContextInterface $httpContext) : array
array
Array which hold information equal to the global $_SERVER variable in an object oriented layer.