Blame view

public/vendor/illuminate/contracts/Console/Kernel.php 1.38 KB
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
  <?php
  
  namespace Illuminate\Contracts\Console;
  
  interface Kernel
  {
      /**
       * Handle an incoming console command.
       *
       * @param  \Symfony\Component\Console\Input\InputInterface  $input
       * @param  \Symfony\Component\Console\Output\OutputInterface|null  $output
       * @return int
       */
      public function handle($input, $output = null);
  
      /**
       * Run an Artisan console command by name.
       *
       * @param  string  $command
       * @param  array  $parameters
       * @param  \Symfony\Component\Console\Output\OutputInterface|null  $outputBuffer
       * @return int
       */
      public function call($command, array $parameters = [], $outputBuffer = null);
  
      /**
       * Queue an Artisan console command by name.
       *
       * @param  string  $command
       * @param  array  $parameters
       * @return \Illuminate\Foundation\Bus\PendingDispatch
       */
      public function queue($command, array $parameters = []);
  
      /**
       * Get all of the commands registered with the console.
       *
       * @return array
       */
      public function all();
  
      /**
       * Get the output for the last run command.
       *
       * @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);
  }