File
- drupal/core/vendor/symfony/debug/Symfony/Component/Debug/Exception/FlattenException.php, line 157
Class
- FlattenException
- FlattenException wraps a PHP Exception to be able to serialize it.
Namespace
Symfony\Component\Debug\Exception
Code
public function getAllPrevious() {
$exceptions = array();
$e = $this;
while ($e = $e
->getPrevious()) {
$exceptions[] = $e;
}
return $exceptions;
}