Skip to content

Commit 573cc96

Browse files
X-Coder264taylorotwell
authored andcommitted
[5.8] Add terminate method to the console Kernel contract (#26393)
1 parent 41b59e0 commit 573cc96

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Illuminate/Contracts/Console/Kernel.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,13 @@ public function all();
4545
* @return string
4646
*/
4747
public function output();
48+
49+
/**
50+
* Terminate the application.
51+
*
52+
* @param \Symfony\Component\Console\Input\InputInterface $input
53+
* @param int $status
54+
* @return void
55+
*/
56+
public function terminate($input, $status);
4857
}

0 commit comments

Comments
 (0)