class ParameterCircularReferenceException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php \Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException
This exception is thrown when a circular reference in a parameter is detected.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- class \Symfony\Component\DependencyInjection\Exception\RuntimeException implements ExceptionInterface
- class \Symfony\Component\DependencyInjection\Exception\RuntimeException implements ExceptionInterface
- class \Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException
- class \Symfony\Component\DependencyInjection\Exception\RuntimeException implements ExceptionInterface
Expanded class hierarchy of ParameterCircularReferenceException
2 files declare their use of ParameterCircularReferenceException
- ParameterBag.php in vendor/
symfony/ dependency-injection/ ParameterBag/ ParameterBag.php - ParameterBagTest.php in vendor/
symfony/ dependency-injection/ Tests/ ParameterBag/ ParameterBagTest.php
File
- vendor/
symfony/ dependency-injection/ Exception/ ParameterCircularReferenceException.php, line 19
Namespace
Symfony\Component\DependencyInjection\ExceptionView source
class ParameterCircularReferenceException extends RuntimeException {
private $parameters;
public function __construct($parameters, \Exception $previous = null) {
parent::__construct(sprintf('Circular reference detected for parameter "%s" ("%s" > "%s").', $parameters[0], implode('" > "', $parameters), $parameters[0]), 0, $previous);
$this->parameters = $parameters;
}
public function getParameters() {
return $this->parameters;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ParameterCircularReferenceException:: |
private | property | ||
ParameterCircularReferenceException:: |
public | function | ||
ParameterCircularReferenceException:: |
public | function |