1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,57 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Illuminate\Contracts\Console; |
|
4 |
- |
|
5 |
-interface Kernel |
|
6 |
-{ |
|
7 |
- /** |
|
8 |
- * Handle an incoming console command. |
|
9 |
- * |
|
10 |
- * @param \Symfony\Component\Console\Input\InputInterface $input |
|
11 |
- * @param \Symfony\Component\Console\Output\OutputInterface|null $output |
|
12 |
- * @return int |
|
13 |
- */ |
|
14 |
- public function handle($input, $output = null); |
|
15 |
- |
|
16 |
- /** |
|
17 |
- * Run an Artisan console command by name. |
|
18 |
- * |
|
19 |
- * @param string $command |
|
20 |
- * @param array $parameters |
|
21 |
- * @param \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer |
|
22 |
- * @return int |
|
23 |
- */ |
|
24 |
- public function call($command, array $parameters = [], $outputBuffer = null); |
|
25 |
- |
|
26 |
- /** |
|
27 |
- * Queue an Artisan console command by name. |
|
28 |
- * |
|
29 |
- * @param string $command |
|
30 |
- * @param array $parameters |
|
31 |
- * @return \Illuminate\Foundation\Bus\PendingDispatch |
|
32 |
- */ |
|
33 |
- public function queue($command, array $parameters = []); |
|
34 |
- |
|
35 |
- /** |
|
36 |
- * Get all of the commands registered with the console. |
|
37 |
- * |
|
38 |
- * @return array |
|
39 |
- */ |
|
40 |
- public function all(); |
|
41 |
- |
|
42 |
- /** |
|
43 |
- * Get the output for the last run command. |
|
44 |
- * |
|
45 |
- * @return string |
|
46 |
- */ |
|
47 |
- 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); |
|
57 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,57 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Illuminate\Contracts\Console; |
|
4 |
+ |
|
5 |
+interface Kernel |
|
6 |
+{ |
|
7 |
+ /** |
|
8 |
+ * Handle an incoming console command. |
|
9 |
+ * |
|
10 |
+ * @param \Symfony\Component\Console\Input\InputInterface $input |
|
11 |
+ * @param \Symfony\Component\Console\Output\OutputInterface|null $output |
|
12 |
+ * @return int |
|
13 |
+ */ |
|
14 |
+ public function handle($input, $output = null); |
|
15 |
+ |
|
16 |
+ /** |
|
17 |
+ * Run an Artisan console command by name. |
|
18 |
+ * |
|
19 |
+ * @param string $command |
|
20 |
+ * @param array $parameters |
|
21 |
+ * @param \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer |
|
22 |
+ * @return int |
|
23 |
+ */ |
|
24 |
+ public function call($command, array $parameters = [], $outputBuffer = null); |
|
25 |
+ |
|
26 |
+ /** |
|
27 |
+ * Queue an Artisan console command by name. |
|
28 |
+ * |
|
29 |
+ * @param string $command |
|
30 |
+ * @param array $parameters |
|
31 |
+ * @return \Illuminate\Foundation\Bus\PendingDispatch |
|
32 |
+ */ |
|
33 |
+ public function queue($command, array $parameters = []); |
|
34 |
+ |
|
35 |
+ /** |
|
36 |
+ * Get all of the commands registered with the console. |
|
37 |
+ * |
|
38 |
+ * @return array |
|
39 |
+ */ |
|
40 |
+ public function all(); |
|
41 |
+ |
|
42 |
+ /** |
|
43 |
+ * Get the output for the last run command. |
|
44 |
+ * |
|
45 |
+ * @return string |
|
46 |
+ */ |
|
47 |
+ 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); |
|
57 |
+} |