CoreFiles by mySites.guru
SignalableCommandInterface.php30 lines, 682 bytes, from Joomla_4.3.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.3.0-alpha2
md5
b0cf3b09a0cfaf9fc57a927e38666662
sha1
c2037dfa6ba7370194b1dcc08ffee955894d1c81
sha256
0bb8da78bbf4b9c176c8a9c2a4f830b3c7e0aadd62efc278003666fa1b94bff0
<?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\Command;

/**
 * Interface for command reacting to signal.
 *
 * @author GrĂ©goire Pineau <[email protected]>
 */
interface SignalableCommandInterface
{
    /**
     * Returns the list of signals to subscribe.
     */
    public function getSubscribedSignals(): array;

    /**
     * The method will be called when the application is signaled.
     */
    public function handleSignal(int $signal): void;
}

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