class Controller implements ContainerAwareInterface

Controller is a simple implementation of a Controller.

It provides methods to common features needed in controllers.

Traits

ContainerAware trait.

Methods

setContainer(ContainerInterface $container = null)

Sets the container.

Details

in ContainerAwareTrait at line line 31
setContainer(ContainerInterface $container = null)

Sets the container.

Parameters

ContainerInterface $container A ContainerInterface instance or null