CoreFiles by mySites.guru
CommandLoaderInterface.php42 lines, 874 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
a94f98b3af48c060477ac27f582e8500
sha1
b9dd697555e0e4b0ec93db7debfd1e53bec929a7
sha256
1a5c7fa1233475f252c13d3a93110da450e6ca5b7d4cee81bb3aa110753ce4e6
<?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\CommandLoader;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Exception\CommandNotFoundException;

/**
 * @author Robin Chalas <[email protected]>
 */
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();
}

The same content is in 34 releases, Joomla 4.0.0-beta to 4.1.0-beta2. See them all, or every version of this file.