Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/debug/Exception/FatalErrorException.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
16 * | 16 * |
17 * @author Konstanton Myakshin <koc-dp@yandex.ru> | 17 * @author Konstanton Myakshin <koc-dp@yandex.ru> |
18 */ | 18 */ |
19 class FatalErrorException extends \ErrorException | 19 class FatalErrorException extends \ErrorException |
20 { | 20 { |
21 public function __construct($message, $code, $severity, $filename, $lineno, $traceOffset = null, $traceArgs = true, array $trace = null) | 21 public function __construct($message, $code, $severity, $filename, $lineno, $traceOffset = null, $traceArgs = true, array $trace = null, $previous = null) |
22 { | 22 { |
23 parent::__construct($message, $code, $severity, $filename, $lineno); | 23 parent::__construct($message, $code, $severity, $filename, $lineno, $previous); |
24 | 24 |
25 if (null !== $trace) { | 25 if (null !== $trace) { |
26 if (!$traceArgs) { | 26 if (!$traceArgs) { |
27 foreach ($trace as &$frame) { | 27 foreach ($trace as &$frame) { |
28 unset($frame['args'], $frame['this'], $frame); | 28 unset($frame['args'], $frame['this'], $frame); |