Skip to content

Commit

Permalink
[5.8] Add terminate method to the console Kernel contract (#26393)
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Coder264 authored and taylorotwell committed Nov 5, 2018
1 parent 41b59e0 commit 573cc96
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Illuminate/Contracts/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,13 @@ public function all();
* @return string
*/
public function output();

/**
* Terminate the application.
*
* @param \Symfony\Component\Console\Input\InputInterface $input
* @param int $status
* @return void
*/
public function terminate($input, $status);
}

0 comments on commit 573cc96

Please sign in to comment.