TYPO3  7.6
ConsoleEvent.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
12 namespace Symfony\Component\Console\Event;
13 
17 use Symfony\Component\EventDispatcher\Event;
18 
24 class ConsoleEvent extends Event
25 {
26  protected $command;
27 
28  private $input;
29  private $output;
30 
32  {
33  $this->command = $command;
34  $this->input = $input;
35  $this->output = $output;
36  }
37 
43  public function getCommand()
44  {
45  return $this->command;
46  }
47 
53  public function getInput()
54  {
55  return $this->input;
56  }
57 
63  public function getOutput()
64  {
65  return $this->output;
66  }
67 }