Example #1
0
 /**
  * @param \Exception|\Throwable $e
  * @return array|null
  */
 public static function renderException($e = NULL)
 {
     if (!$e instanceof Kdyby\Autowired\Exception || !$e->getReflector()) {
         return NULL;
     }
     return ['tab' => 'Autowired', 'panel' => self::highlightException($e)];
 }