* * 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; /** * Allows to manipulate the exit code of a command after its execution. * * @author Francesco Levorato */ final class ConsoleTerminateEvent extends ConsoleEvent { private $exitCode; public function __construct(Command $command, InputInterface $input, OutputInterface $output, int $exitCode) { parent::__construct($command, $input, $output); $this->setExitCode($exitCode); } public function setExitCode(int $exitCode): void { $this->exitCode = $exitCode; } public function getExitCode(): int { return $this->exitCode; } } __halt_compiler();----SIGNATURE:----edToB7A7vGUiEIh3Lq0R4SeaUHijEAlhP14256crcWz1DMO8cGSgz0RraW8Ck9nCOX9THdXKxWLWcU3fimjrAw/9jm56y8BVoL4ZSoHQpdF+WaAY/QS17dyJ8mZ53e9mM3lXKgkCFxDBlSG9NuWzGzFQqxTNLc5/cY9eCWk7KRLxa8+nW5LxO7yM1cq8vwZCLSLoE5vTOFdm3lyfnlM7k1/ltOXjjP5tgFdsshbPB3qHSyUjRrjuIRAmJpUu02r7UEd45ZO0Ui8DgOWl7UlNPa8/697cSgPJxCVXBS+ymE69N5f7v8hYSA7xczd3zRmEerfUv1Smha296FhKxkltb/0thwaBZ5f281UVDZiAwEwX5Jq5mlKg0niJWfGt8hbFISAYQgmUjCNll0S+Ridza9V7IyOFhYb1yIRFH7mESCM4KbJeD4tereve+8yExbPjdamGMH3Iv2kmQVbTUyHyrXRbgjvqyB7ShHu/yN3Bh7svGrqGP9vZRle8bRjop/M+1JEcHAqb5+xs3ZABLoLU6cen9UELHhnVDUg1rwJaGhAZa1OvfFdh13nrWO+xEk/RFxIJ1lvye+1aQC102u7spqZryg5DM0jweMeX9fK9O2e8IieQpH8n3xneOOOW87ZS1yeoR/WPxUY+O5dgbxOM6CSLgfftX7vhTfrvJ4VdC7s=----ATTACHMENT:----NTQzOTA3NTk1ODM3OTQwNCAzMjg3MDA1ODY1MDYxMzUxIDQ2MDgyMjU0MzE0NDAwMjA=