Sets the Container.
@api
Parameters
ContainerInterface $container A ContainerInterface instance:
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerAwareInterface.php, line 30
Class
- ContainerAwareInterface
- ContainerAwareInterface should be implemented by classes that depends on a Container.
Namespace
Symfony\Component\DependencyInjection
Code
public function setContainer(ContainerInterface $container = null);