throwable = $throwable; } /** * Return source exception * * @return Exception */ public function getThrowable() { return $this->throwable; } /** * @desc Returns string representation of throwable * * @return array */ public function getStringRepresentation() { if (!is_array($this->throwableArray)) { $renderer = new LoggerRendererException(); $this->throwableArray = explode("\n", $renderer->render($this->throwable)); } return $this->throwableArray; } }