* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Console\Event; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Contracts\EventDispatcher\Event; /** * Allows to inspect input and output of a command. * * @author Francesco Levorato */ class ConsoleEvent extends Event { protected $command; private $input; private $output; public function __construct(?Command $command, InputInterface $input, OutputInterface $output) { $this->command = $command; $this->input = $input; $this->output = $output; } /** * Gets the command that is executed. * * @return Command|null */ public function getCommand() { return $this->command; } /** * Gets the input instance. * * @return InputInterface */ public function getInput() { return $this->input; } /** * Gets the output instance. * * @return OutputInterface */ public function getOutput() { return $this->output; } } __halt_compiler();----SIGNATURE:----d7hTFMTaPpuFdm6ctlASaP8ukLc9MQqjobM59l0YJhPZ+QmUFkfK4Za7EzUKF3kEqhB1wKgNnhqKp9mKv9S/OyR8kCj2Uv3IIh+f8TpBNgMzd9BVHIIxfMylMtnfaDiS/cCkatT9uYAcpKKQ4a7duGoSXfiBsCjd77dBhDhd7kWtE0itnJH+XGuNchSQjpW8vGJQrIvPpJU8pMg1QoVT2zjIunAk2bGeGtcd9c5YxKQs0bAzFpoSkueJrkEn/5a0GzeDS7UUnaF5VmtHZhK6zn5tmwsQ+yQcVYDWXtgs3LbvzmaRUWZGyrjpZb/tYQsn0d6lIYZb13CBvTU6LF4zp5bw/9f/pZb5b6m1uhe9xQ0hxkf/fFAjZwJZYhpO0YDy7lBMHnt/3MkXbG7GAb+AOpXx8CVNbGZY6lfp01/scOsBQcA5agY70q3sdpfNr6s31okwqMBfp69e7d9eId43NXlAC/UPS8rMmgQIvS2wxdPdr/k81l8zzn7qV1HeP0VyJWgItYvO+1hlenJV1AxiZLpjvo+urlQ2kgsapGagCsuKgEVbzncRb9JmIk8OyCK+V5Dn8guq/JdOiR3W7BXR/1+zF02QoFD6U3GwrSW4Q+Tt5aGRYbu2YLyPocSmGBvqP1rtaE0vzPTtJNeA8IhUZMIyJchncxSjjbf/TfwimGo=----ATTACHMENT:----NDIzMjgwNzQ3ODc2ODkzMyAxNDcwODA5NzYzMTcxNDc2IDYyNzUzMDE3OTgzNTgzNTQ=