public function ContainerInterface::addScope in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/ContainerInterface.php \Symfony\Component\DependencyInjection\ContainerInterface::addScope()
Adds a scope to the container.
Parameters
ScopeInterface $scope:
2 methods override ContainerInterface::addScope()
- Container::addScope in vendor/
symfony/ dependency-injection/ Container.php - Adds a scope to the container.
- Container::addScope in core/
lib/ Drupal/ Component/ DependencyInjection/ Container.php - Adds a scope to the container.
File
- vendor/
symfony/ dependency-injection/ ContainerInterface.php, line 112
Class
- ContainerInterface
- ContainerInterface is the interface implemented by service container classes.
Namespace
Symfony\Component\DependencyInjectionCode
public function addScope(ScopeInterface $scope);