You are here

public function ParameterCircularReferenceException::__construct in Zircon Profile 8

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

File

vendor/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php, line 23

Class

ParameterCircularReferenceException
This exception is thrown when a circular reference in a parameter is detected.

Namespace

Symfony\Component\DependencyInjection\Exception

Code

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;
}