public function Container::hasScope in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/dependency-injection/Container.php \Symfony\Component\DependencyInjection\Container::hasScope()
- 8 core/lib/Drupal/Component/DependencyInjection/Container.php \Drupal\Component\DependencyInjection\Container::hasScope()
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Container.php \Symfony\Component\DependencyInjection\Container::hasScope()
Returns whether this container has a certain scope.
Parameters
string $name The name of the scope:
Return value
bool
Overrides ContainerInterface::hasScope
File
- vendor/
symfony/ dependency-injection/ Container.php, line 500
Class
- Container
- Container is a dependency injection container.
Namespace
Symfony\Component\DependencyInjectionCode
public function hasScope($name) {
return isset($this->scopes[$name]);
}