rector/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php
Tomas Votruba 1a63f1a06c Updated Rector to commit 6fe5a9f4f1757893d30fb91cf07659395b73676b
6fe5a9f4f1 [Downgrade PHP 7.3] Add DowngradeIsCountableRector (#128)
2021-05-31 09:35:19 +00:00

39 lines
933 B
PHP

<?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 RectorPrefix20210531\Symfony\Component\Console\CommandLoader;
use RectorPrefix20210531\Symfony\Component\Console\Command\Command;
use RectorPrefix20210531\Symfony\Component\Console\Exception\CommandNotFoundException;
/**
* @author Robin Chalas <robin.chalas@gmail.com>
*/
interface CommandLoaderInterface
{
/**
* Loads a command.
*
* @return Command
*
* @throws CommandNotFoundException
*/
public function get(string $name);
/**
* Checks if a command exists.
*
* @return bool
*/
public function has(string $name);
/**
* @return string[] All registered command names
*/
public function getNames();
}