HttpViewControllerInterface
in
Interface HttpViewControllerInterface
Tags
Table of Contents
- actionDefault() : HttpControllerResponseInterface
- Default action method.
- proceed() : mixed
- Processes a http response object which is get by invoking an action method.
Methods
actionDefault()
Default action method.
public
actionDefault() : HttpControllerResponseInterface
Every controller child class requires at least the default action method, which is invoked when the ::_getQueryParameterData('do') value is not separated by a trailing slash.
Every action method have to return an instance which implements the http controller response interface.
Return values
HttpControllerResponseInterface —proceed()
Processes a http response object which is get by invoking an action method.
public
proceed(HttpContextInterface $httpContext) : mixed
The action method is determined by the current http context.
Parameters
- $httpContext : HttpContextInterface
-
Http context object which hold the request variables.