Controller
in package
implements
ContainerAwareInterface
Uses
ContainerAwareTrait, ControllerTrait
Controller is a simple implementation of a Controller.
It provides methods to common features needed in controllers.
Tags
Interfaces, Classes, Traits and Enums
- ContainerAwareInterface
- ContainerAwareInterface should be implemented by classes that depends on a Container.
Table of Contents
- $container : ContainerInterface
- setContainer() : mixed
- getParameter() : array<string|int, mixed>|bool|float|int|string|null
- Gets a container configuration parameter by its name.
Properties
$container
protected
ContainerInterface
$container
Methods
setContainer()
public
setContainer([ContainerInterface $container = null ]) : mixed
Parameters
- $container : ContainerInterface = null
Return values
mixed —getParameter()
Gets a container configuration parameter by its name.
protected
getParameter(string $name) : array<string|int, mixed>|bool|float|int|string|null
Parameters
- $name : string