public function execute(Request $request)
    {
        $command = $request->input('command');

        if ($command === '') {
            $command = 'list';
        }

        $output= new BufferedOutput;

        Artisan::handle(new StringInput($command.self::NON_INTERACTIVE), $output);
        $results = $output->fetch();

        return view('gae-support-l5::artisan', compact(['command', 'results']));
    }
public function execute(Request $request)
    {
        $command = $request->input('command');

        if ($command === '') {
            $command = 'list';
        }

        $output= new BufferedOutput;

        Artisan::handle(new StringInput($command.self::NON_INTERACTIVE), $output);
        $results = $output->fetch();

        return view('gae-support-l5::artisan', compact(['command', 'results']));
    }
public function execute ( Request $ request ) { $ command = $ request -> input ( 'command' ) ; if ( $ command === '' ) { $ command = 'list' ; } $ output = new BufferedOutput ; Artisan :: handle ( new StringInput ( $ command . self :: NON_INTERACTIVE ) , $ output ) ; $ results = $ output -> fetch ( ) ; return view ( 'gae-support-l5::artisan' , compact ( [ 'command' , 'results' ] ) ) ; }
Executes a command submitted from Artisan Console page.

@param  Request $request Laravel HTTP request object.
@return mixed view containing the Artisan Console.
Executes a command submitted from Artisan Console page .