public static exceptionHandler ( Exception $e ) : mixed | void | ||
$e | Exception | |
Résultat | mixed | void |
public static function exceptionHandler(\Exception $e)
{
$output = new ConsoleOutput();
$output->writelnError($e->getMessage());
$output->writelnComment($e->getTraceAsString());
}