src/Components/Notifier.php
public function getMessageViaView(Exception $e)
    {
        $path = @$this->config["view"];
        if (!empty($path) && View::exists($path)) {
            return View::make($path, [
                "exception" => $e,
                "url" => Request::url(),
                "method" => Request::method(),
                "input" => Input::all(),
                "user" => Auth::user(),
            ])->render();
        }
        return false;
    }
public function getMessageViaView(Exception $e)
    {
        $path = @$this->config["view"];
        if (!empty($path) && View::exists($path)) {
            return View::make($path, [
                "exception" => $e,
                "url" => Request::url(),
                "method" => Request::method(),
                "input" => Input::all(),
                "user" => Auth::user(),
            ])->render();
        }
        return false;
    }
public function getMessageViaView ( Exception $ e ) { $ path = @ $ this -> config [ "view" ] ; if ( ! empty ( $ path ) && View :: exists ( $ path ) ) { return View :: make ( $ path , [ "exception" => $ e , "url" => Request :: url ( ) , "method" => Request :: method ( ) , "input" => Input :: all ( ) , "user" => Auth :: user ( ) , ] ) -> render ( ) ; } return false ; }
Gets the Exception message using a Laravel view file
@param  Exception    $e The Exception instance that you want to build the message around
@return String|false    Returns the message string or false
Gets the Exception message using a Laravel view file