/** * Determine if we are running in the console. * * @return bool * @static */ public static function runningInConsole() { //Method inherited from \Illuminate\Foundation\Application return \App\Application::runningInConsole(); }