Webmozart\Console\UI\Component\ExceptionTrace::__construct PHP Method

__construct() public method

Creates a renderer for the given exception.
public __construct ( Exception $exception )
$exception Exception The exception to render.
    public function __construct(Exception $exception)
    {
        $this->exception = $exception;
    }