Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/Illuminate/Contracts/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ public function basePath();
*/
public function environment();

/**
* Determine if we are running in the console.
*
* @return bool
*/
public function runningInConsole();

/**
* Determine if the application is currently down for maintenance.
*
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Support/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ abstract class ServiceProvider
/**
* The application instance.
*
* @var \Illuminate\Foundation\Application
* @var \Illuminate\Contracts\Foundation\Application
*/
protected $app;

Expand Down Expand Up @@ -37,7 +37,7 @@ abstract class ServiceProvider
/**
* Create a new service provider instance.
*
* @param \Illuminate\Foundation\Application $app
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function __construct($app)
Expand Down