Вход Регистрация
Файл: vendor/symfony/console/Event/ConsoleSignalEvent.php
Строк: 79
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace SymfonyComponentConsoleEvent;

use 
SymfonyComponentConsoleCommandCommand;
use 
SymfonyComponentConsoleInputInputInterface;
use 
SymfonyComponentConsoleOutputOutputInterface;

/**
 * @author marie <marie@users.noreply.github.com>
 */
final class ConsoleSignalEvent extends ConsoleEvent
{
    private 
int $handlingSignal;

    public function 
__construct(Command $commandInputInterface $inputOutputInterface $outputint $handlingSignal)
    {
        
parent::__construct($command$input$output);
        
$this->handlingSignal $handlingSignal;
    }

    public function 
getHandlingSignal(): int
    
{
        return 
$this->handlingSignal;
    }
}
Онлайн: 0
Реклама