Determine if the application is running in the console.
public runningInConsole ( ) : boolean | ||
return | boolean |
/** * Determine if the application is running in the console. * * @return string * @static */ public static function runningInConsole() { return \Laravel\Lumen\Application::runningInConsole(); }