Container::__clone

private Container::__clone() Ensure that cloning doesn't work. File core/lib/Drupal/Component/DependencyInjection/Container.php, line 658 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code private function __clone() { }

Container::setParameter

public Container::setParameter($name, $value) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 404 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function setParameter($name, $value) { if ($this->frozen) { throw new LogicException('Impossible to call set() on a frozen ParameterBag.'); } $this->parameters[$name] = $value; }

Container::set

public Container::set($id, $service, $scope = ContainerInterface::SCOPE_CONTAINER) Overrides Container::set File core/lib/Drupal/Core/DependencyInjection/Container.php, line 16 Class Container Extends the Drupal container to set the service ID on the created object. Namespace Drupal\Core\DependencyInjection Code public function set($id, $service, $scope = ContainerInterface::SCOPE_CONTAINER) { parent::set($id, $service, $scope); // Ensure that the _serviceId property is set on syn

Container::set

public Container::set($id, $service, $scope = ContainerInterface::SCOPE_CONTAINER) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 364 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function set($id, $service, $scope = ContainerInterface::SCOPE_CONTAINER) { if (!in_array($scope, array('container', 'request')) || ('request' === $scope && 'request' !== $id)) { @trigger_erro

Container::resolveServicesAndParameters

protected Container::resolveServicesAndParameters($arguments) Resolves arguments that represent services or variables to the real values. Parameters array|\stdClass $arguments: The arguments to resolve. Return value array The resolved arguments. Throws \Symfony\Component\DependencyInjection\Exception\RuntimeException If a parameter/service could not be resolved. \Symfony\Component\DependencyInjection\Exception\InvalidArgumentException If an unknown type is met while resolving parameters and

Container::reset

public Container::reset() Resets shared services from the container. The container is not intended to be used again after being reset in a normal workflow. This method is meant as a way to release references for ref-counting. A subsequent call to ContainerInterface::get will recreate a new instance of the shared service. Overrides ResettableContainerInterface::reset File core/lib/Drupal/Component/DependencyInjection/Container.php, line 198 Class Container Provides a container optimized for

Container::processContainer

public static Container::processContainer(&$element, FormStateInterface $form_state, &$complete_form) Processes a container element. Parameters array $element: An associative array containing the properties and children of the container. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. array $complete_form: The complete form structure. Return value array The processed element. File core/lib/Drupal/Core/Render/Element/Container.php, line 74 Class Con

Container::leaveScope

public Container::leaveScope($name) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 605 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function leaveScope($name) { if ('request' !== $name) { @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED); } throw new \BadMethodCallException(sprintf("'%s' is not s

Container::isScopeActive

public Container::isScopeActive($name) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 639 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function isScopeActive($name) { @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED); throw new \BadMethodCallException(sprintf("'%s' is not supported by Drupal 8.", __FUN

Container::initialized

public Container::initialized($id) Check for whether or not a service has been initialized. Parameters string $id: Return value bool true if the service has been initialized, false otherwise Overrides IntrospectableContainerInterface::initialized File core/lib/Drupal/Component/DependencyInjection/Container.php, line 415 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function initialized($id) { if (isset(