Class Controller
Controller
- momentphp\Controller uses momentphp\traits\ContainerTrait, momentphp\traits\OptionsTrait, momentphp\traits\ClassTrait
public
|
|
public
array
|
#
implementedEvents( )
Return a list of all events that will fire in the controller during its lifecycle |
public
|
|
public
|
|
public
|
|
public
Psr\Http\Message\ResponseInterface
|
#
render( null|string $template = null, null|string $bundle = null )
Return response object with rendered template |
public
|
#
set( mixed $name, mixed $value = null )
Save a variable or an associative array of variables for use inside a template |
public
|
#
abort( null|Psr\Http\Message\RequestInterface $request = null, null|Psr\Http\Message\ResponseInterface $response = null )
Not found helper |
public
string|Psr\Http\Message\ResponseInterface
|
|
public
|
container()
|
options()
|
classBasename(),
classConfigKey(),
classNamespace(),
classPart(),
classPath(),
classPrefix(),
classSuffix()
|
protected
Psr\Http\Message\RequestInterface
|
$request
Request |
|
protected
Psr\Http\Message\ResponseInterface
|
$response
Response |
|
protected
|
$view
View |
$app,
$container
|
$options,
$optionsInitialized
|