Exemplo n.º 1
0
Arquivo: Runner.php Projeto: djfm/ftr
 public function printException(array $exception, $padding = '                       ')
 {
     $text = ExceptionHelper::toString($exception, $padding);
     $this->writeln('<fg=red>' . $text . '</fg=red>');
     $this->writeln("");
     return $this;
 }
Exemplo n.º 2
0
 public function exception(Exception $exception)
 {
     $this->client->send(['type' => 'exception', 'planToken' => $this->planToken, 'exception' => ExceptionHelper::toArray($exception)]);
 }
Exemplo n.º 3
0
 public function addException(Exception $exception)
 {
     $this->exceptions[] = ExceptionHelper::toArray($exception);
     return $this;
 }