function ZfExtensionManagerSfContainer::setContainer

Same name in other branches
  1. 9 core/modules/aggregator/src/ZfExtensionManagerSfContainer.php \Drupal\aggregator\ZfExtensionManagerSfContainer::setContainer()
  2. 9 core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php \Drupal\Component\Bridge\ZfExtensionManagerSfContainer::setContainer()

File

core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php, line 121

Class

ZfExtensionManagerSfContainer
Defines a bridge between the Laminas service manager to Symfony container.

Namespace

Drupal\Component\Bridge

Code

public function setContainer(ContainerInterface $container = NULL) {
    $this->container = $container;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.