protected function makeView($view)
    {
        if( Auth::check() ) {
            $this->addParameter( 'activeUser', Auth::user() );
        }

        return View::make( $view, $this->parameters );
    }
protected function makeView($view)
    {
        if( Auth::check() ) {
            $this->addParameter( 'activeUser', Auth::user() );
        }

        return View::make( $view, $this->parameters );
    }
protected function makeView ( $ view ) { if ( Auth :: check ( ) ) { $ this -> addParameter ( 'activeUser' , Auth :: user ( ) ) ; } return View :: make ( $ view , $ this -> parameters ) ; }
Create the view

@param   string $view        Name of the template to be created
@return \Illuminate\Contracts\View\View
Create the view