Skip to content

Commit

Permalink
Include runningUnitTests in Application Contract (#21034)
Browse files Browse the repository at this point in the history
resubmit of laravel/framework#21033  , now on master
  • Loading branch information
afraca authored and taylorotwell committed Sep 6, 2017
1 parent 5d9ae0a commit 5fe1af6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 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 5fe1af6

Please sign in to comment.