class ParameterCircularReferenceException in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/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 modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ParameterBag/ ParameterBag.php - ParameterBagTest.php in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ ParameterBag/ ParameterBagTest.php
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ 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 |