mailpoet
/
vendor-prefixed
/
symfony
/
dependency-injection
/
Exception
/
ParameterCircularReferenceException.php
AutowiringFailedException.php
2 years ago
BadMethodCallException.php
4 years ago
EnvNotFoundException.php
4 years ago
EnvParameterException.php
2 years ago
ExceptionInterface.php
4 years ago
InvalidArgumentException.php
4 years ago
InvalidParameterTypeException.php
4 years ago
LogicException.php
4 years ago
OutOfBoundsException.php
4 years ago
ParameterCircularReferenceException.php
2 years ago
ParameterNotFoundException.php
2 years ago
RuntimeException.php
4 years ago
ServiceCircularReferenceException.php
2 years ago
ServiceNotFoundException.php
2 years ago
index.php
3 years ago
ParameterCircularReferenceException.php
17 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Symfony\Component\DependencyInjection\Exception; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | class ParameterCircularReferenceException extends RuntimeException |
| 5 | { |
| 6 | private $parameters; |
| 7 | public function __construct(array $parameters, ?\Throwable $previous = null) |
| 8 | { |
| 9 | parent::__construct(\sprintf('Circular reference detected for parameter "%s" ("%s" > "%s").', $parameters[0], \implode('" > "', $parameters), $parameters[0]), 0, $previous); |
| 10 | $this->parameters = $parameters; |
| 11 | } |
| 12 | public function getParameters() |
| 13 | { |
| 14 | return $this->parameters; |
| 15 | } |
| 16 | } |
| 17 |