PHP 8.2.31
Preview: CommandLoaderInterface.php Size: 845 B
//opt/cpanel/ea-wappspector/vendor/symfony/console/CommandLoader/CommandLoaderInterface.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 Symfony\Component\Console\CommandLoader;

use Symfony\Component\Console\Command\Command;
use 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[]
     */
    public function getNames();
}

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
845 B lrw-r--r-- 2024-11-06 11:30:55
Edit Download
1.47 KB lrw-r--r-- 2024-11-06 11:30:55
Edit Download
1.32 KB lrw-r--r-- 2024-11-06 11:30:55
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).