Controller

class Controller implements ContainerAwareInterface

Controller is a simple implementation of a Controller.

It provides methods to common features needed in controllers.

Traits

ContainerAwareTrait ContainerAware trait.
ControllerTrait Common features needed in controllers.

Properties

ContainerInterface $container from ControllerTrait

Methods

setContainer(ContainerInterface $container = null) from ContainerAwareTrait

Details

setContainer(ContainerInterface $container = null)

Parameters

ContainerInterface $container

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.4/Symfony/Bundle/FrameworkBundle/Controller/Controller.html