public function ZfExtensionManagerSfContainer::setContainer in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php \Drupal\Component\Bridge\ZfExtensionManagerSfContainer::setContainer()
Sets the Container.
@api
Parameters
ContainerInterface|null $container A ContainerInterface instance or null:
Overrides ContainerAwareInterface::setContainer
File
- lib/
Drupal/ Component/ Bridge/ ZfExtensionManagerSfContainer.php, line 105 - Contains \Drupal\Component\Bridge\ZfExtensionManagerSfContainer.
Class
- ZfExtensionManagerSfContainer
- Defines a bridge between the ZF2 service manager to Symfony container.
Namespace
Drupal\Component\BridgeCode
public function setContainer(ContainerInterface $container = NULL) {
$this->container = $container;
}