public function InactiveScopeException::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Exception/InactiveScopeException.php \Symfony\Component\DependencyInjection\Exception\InactiveScopeException::__construct()
File
- vendor/
symfony/ dependency-injection/ 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\ExceptionCode
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;
}