Interface HttpContextReaderInterface

Interface HttpContextReaderInterface

Direct known implementers

HttpContextReader

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.