public function ContainerInterface::addScope

Adds a scope to the container

@api

Parameters

ScopeInterface $scope:

1 method overrides ContainerInterface::addScope()
Container::addScope in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php
Adds a scope to the container.

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerInterface.php, line 129

Class

ContainerInterface
ContainerInterface is the interface implemented by service container classes.

Namespace

Symfony\Component\DependencyInjection

Code

public function addScope(ScopeInterface $scope);