CoreFiles by mySites.guru
ConsoleSignalEvent.php35 lines, 912 bytes, from Joomla_4.0.0-beta6-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta5
md5
dccaa9c380a64ca0ddb44b30d95a0ca5
sha1
dbd93bcca14da832cedf484495434308b82efabc
sha256
194510787d40f5e1fccc83d7a373389b620636fd90bc389ab9b7d288c056d440
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * 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;

/**
 * @author marie <[email protected]>
 */
final class ConsoleSignalEvent extends ConsoleEvent
{
    private $handlingSignal;

    public function __construct(Command $command, InputInterface $input, OutputInterface $output, int $handlingSignal)
    {
        parent::__construct($command, $input, $output);
        $this->handlingSignal = $handlingSignal;
    }

    public function getHandlingSignal(): int
    {
        return $this->handlingSignal;
    }
}

The same content is in 126 releases, Joomla 4.0.0-beta6 to 4.4.14. See them all, or every version of this file.