File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Exception/InactiveScopeException.php, line 24
Class
- InactiveScopeException
- This exception is thrown when you try to create a service of an inactive scope.
Namespace
Symfony\Component\DependencyInjection\Exception
Code
public function __construct($serviceId, $scope, \Exception $previous = null) {
parent::__construct(sprintf('You cannot create a service ("%s") of an inactive scope ("%s").', $serviceId, $scope), 0, $previous);
$this->serviceId = $serviceId;
$this->scope = $scope;
}