You are here

public function ContainerInterface::isScopeActive in Zircon Profile 8

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

Determines whether the given scope is currently active.

It does however not check if the scope actually exists.

Parameters

string $name:

Return value

bool

2 methods override ContainerInterface::isScopeActive()
Container::isScopeActive in vendor/symfony/dependency-injection/Container.php
Returns whether this scope is currently active.
Container::isScopeActive in core/lib/Drupal/Component/DependencyInjection/Container.php
Determines whether the given scope is currently active.

File

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

Class

ContainerInterface
ContainerInterface is the interface implemented by service container classes.

Namespace

Symfony\Component\DependencyInjection

Code

public function isScopeActive($name);