You are here

protected function FatalErrorException::setTrace in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/debug/Exception/FatalErrorException.php \Symfony\Component\HttpKernel\Exception\FatalErrorException::setTrace()
1 call to FatalErrorException::setTrace()
FatalErrorException::__construct in vendor/symfony/debug/Exception/FatalErrorException.php

File

vendor/symfony/debug/Exception/FatalErrorException.php, line 93

Class

FatalErrorException
Fatal Error Exception.

Namespace

Symfony\Component\HttpKernel\Exception

Code

protected function setTrace($trace) {
  $traceReflector = new \ReflectionProperty('Exception', 'trace');
  $traceReflector
    ->setAccessible(true);
  $traceReflector
    ->setValue($this, $trace);
}