Skip to content

Commit

Permalink
add storeOutput method
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 10, 2018
1 parent 7d3efe7 commit 70a72fc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Illuminate/Console/Scheduling/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,18 @@ public function filtersPass($app)
return true;
}

/**
* Ensure that the output is stored on disk in a log file.
*
* @return $this
*/
public function storeOutput()
{
$this->ensureOutputIsBeingCaptured();

return $this;
}

/**
* Send the output of the command to a given location.
*
Expand Down

0 comments on commit 70a72fc

Please sign in to comment.