W3cubDocs

/Symfony 4.1

ContainerAwareTrait

trait ContainerAwareTrait

ContainerAware trait.

Properties

protected ContainerInterface $container

Methods

setContainer(ContainerInterface $container = null)

Details

setContainer(ContainerInterface $container = null)

Parameters

ContainerInterface $container

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/ContainerAwareTrait.html