Skip to content

Commit

Permalink
Include runningUnitTests in Application Contract (#21034)
Browse files Browse the repository at this point in the history
resubmit of #21033  , now on master
  • Loading branch information
afraca authored and taylorotwell committed Sep 6, 2017
1 parent 772bc43 commit 38a6878
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Illuminate/Contracts/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ public function environment();
* @return bool
*/
public function runningInConsole();

/**
* Determine if we are running unit tests.
*
* @return bool
*/
public function runningUnitTests();

/**
* Determine if the application is currently down for maintenance.
Expand Down

0 comments on commit 38a6878

Please sign in to comment.