ContainerAware deprecated

class ContainerAware implements ContainerAwareInterface

deprecated

since version 2.8, to be removed in 3.0. Use the ContainerAwareTrait instead.

A simple implementation of ContainerAwareInterface.

Methods

setContainer(ContainerInterface $container = null)

Sets the container.

Details

setContainer(ContainerInterface $container = null)

Sets the container.

Parameters

ContainerInterface $container A ContainerInterface instance or null

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/DependencyInjection/ContainerAware.html