You are here

public function ContainerInterface::hasScope in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/ContainerInterface.php \Symfony\Component\DependencyInjection\ContainerInterface::hasScope()

Whether this container has the given scope.

Parameters

string $name:

Return value

bool

2 methods override ContainerInterface::hasScope()
Container::hasScope in vendor/symfony/dependency-injection/Container.php
Returns whether this container has a certain scope.
Container::hasScope in core/lib/Drupal/Component/DependencyInjection/Container.php
Whether this container has the given scope.

File

vendor/symfony/dependency-injection/ContainerInterface.php, line 121

Class

ContainerInterface
ContainerInterface is the interface implemented by service container classes.

Namespace

Symfony\Component\DependencyInjection

Code

public function hasScope($name);