CoreFiles by mySites.guru
CommandLoaderInterface.php37 lines, 697 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
52d85f5bee3e0a2691e398743e1754d0
sha1
06bd86c34d9bf0a172924d6973a3a130daf22962
sha256
791df87082a1ddd2d750d2a12da678f34921800ff95274ce8bbf5aaa5938e73f
<?php

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.
     *
     * @param string $name
     *
     * @return Command
     *
     * @throws CommandNotFoundException
     */
    public function get($name);

    /**
     * Checks if a command exists.
     *
     * @param string $name
     *
     * @return bool
     */
    public function has($name);

    /**
     * @return string[] All registered command names
     */
    public function getNames();
}

The same content is in 8 releases, Joomla 4.0.0-alpha2 to 4.0.0-alpha10. See them all, or every version of this file.