ContainerAwareInterface
интерфейс ContainerAwareInterface
ContainerAwareInterface следует реализовывать классам, зависящим от контейнера.
Методы
| setContainer(ContainerInterface $container = null) Устанавливает контейнер. |
Подробности
setContainer(ContainerInterface $container = null)
Устанавливает контейнер.
Параметры
| ContainerInterface | $container |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/ContainerAwareInterface.html