public static function output() { //Method inherited from \Illuminate\Foundation\Console\Kernel return \Someline\Console\Kernel::output(); }
/** * Display all routes in browser * */ public function listRoutes() { \Route::get('routes', function () { \Artisan::call('route:list'); return "<pre>" . \Artisan::output(); }); }