public function Container::isScopeActive in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/dependency-injection/Container.php \Symfony\Component\DependencyInjection\Container::isScopeActive()
- 8 core/lib/Drupal/Component/DependencyInjection/Container.php \Drupal\Component\DependencyInjection\Container::isScopeActive()
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Container.php \Symfony\Component\DependencyInjection\Container::isScopeActive()
Returns whether this scope is currently active.
This does not actually check if the passed scope actually exists.
Parameters
string $name:
Return value
bool
Overrides ContainerInterface::isScopeActive
File
- vendor/
symfony/ dependency-injection/ Container.php, line 514
Class
- Container
- Container is a dependency injection container.
Namespace
Symfony\Component\DependencyInjectionCode
public function isScopeActive($name) {
return isset($this->scopedServices[$name]);
}