Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/dependency-injection/Exception/EnvParameterException.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
16 * | 16 * |
17 * @author Nicolas Grekas <p@tchwork.com> | 17 * @author Nicolas Grekas <p@tchwork.com> |
18 */ | 18 */ |
19 class EnvParameterException extends InvalidArgumentException | 19 class EnvParameterException extends InvalidArgumentException |
20 { | 20 { |
21 public function __construct(array $usedEnvs, \Exception $previous = null) | 21 public function __construct(array $envs, \Exception $previous = null, $message = 'Incompatible use of dynamic environment variables "%s" found in parameters.') |
22 { | 22 { |
23 parent::__construct(sprintf('Incompatible use of dynamic environment variables "%s" found in parameters.', implode('", "', $usedEnvs)), 0, $previous); | 23 parent::__construct(sprintf($message, implode('", "', $envs)), 0, $previous); |
24 } | 24 } |
25 } | 25 } |