Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Console\Events;
4
 
5
use Symfony\Component\Console\Input\InputInterface;
6
use Symfony\Component\Console\Output\OutputInterface;
7
 
8
class CommandFinished
9
{
10
    /**
11
     * The command name.
12
     *
13
     * @var string
14
     */
15
    public $command;
16
 
17
    /**
18
     * The console input implementation.
19
     *
20
     * @var \Symfony\Component\Console\Input\InputInterface|null
21
     */
22
    public $input;
23
 
24
    /**
25
     * The command output implementation.
26
     *
27
     * @var \Symfony\Component\Console\Output\OutputInterface|null
28
     */
29
    public $output;
30
 
31
    /**
32
     * The command exit code.
33
     *
34
     * @var int
35
     */
36
    public $exitCode;
37
 
38
    /**
39
     * Create a new event instance.
40
     *
41
     * @param  string  $command
42
     * @param  \Symfony\Component\Console\Input\InputInterface  $input
43
     * @param  \Symfony\Component\Console\Output\OutputInterface  $output
44
     * @param  int  $exitCode
45
     * @return void
46
     */
47
    public function __construct($command, InputInterface $input, OutputInterface $output, $exitCode)
48
    {
49
        $this->input = $input;
50
        $this->output = $output;
51
        $this->command = $command;
52
        $this->exitCode = $exitCode;
53
    }
54
}