static public function output(E $e, $channel)
    {
        Artisan::queue('slack:post', [
            'to'      => $channel,
            'attach'  => self::exceptionToSlackAttach($e),
            'message' => "Thrown exception"
        ]);
    }
static public function output(E $e, $channel)
    {
        Artisan::queue('slack:post', [
            'to'      => $channel,
            'attach'  => self::exceptionToSlackAttach($e),
            'message' => "Thrown exception"
        ]);
    }
static public function output ( E $ e , $ channel ) { Artisan :: queue ( 'slack:post' , [ 'to' => $ channel , 'attach' => self :: exceptionToSlackAttach ( $ e ) , 'message' => "Thrown exception" ] ) ; }
Report an exception to slack

@param E $e
Report an exception to slack