class Controller implements ContainerAwareInterface

deprecated since Symfony 4.2, use {@see AbstractController} instead.

Controller is a simple implementation of a Controller.

It provides methods to common features needed in controllers.

Traits

ContainerAware trait.
ControllerTrait

Methods

setContainer(ContainerInterface $container = null)

No description

Details

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

Parameters

ContainerInterface $container