[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/console/CommandLoader/ -> CommandLoaderInterface.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of the Symfony package.
   5   *
   6   * (c) Fabien Potencier <fabien@symfony.com>
   7   *
   8   * For the full copyright and license information, please view the LICENSE
   9   * file that was distributed with this source code.
  10   */
  11  
  12  namespace Symfony\Component\Console\CommandLoader;
  13  
  14  use Symfony\Component\Console\Command\Command;
  15  use Symfony\Component\Console\Exception\CommandNotFoundException;
  16  
  17  /**
  18   * @author Robin Chalas <robin.chalas@gmail.com>
  19   */
  20  interface CommandLoaderInterface
  21  {
  22      /**
  23       * Loads a command.
  24       *
  25       * @param string $name
  26       *
  27       * @return Command
  28       *
  29       * @throws CommandNotFoundException
  30       */
  31      public function get($name);
  32  
  33      /**
  34       * Checks if a command exists.
  35       *
  36       * @param string $name
  37       *
  38       * @return bool
  39       */
  40      public function has($name);
  41  
  42      /**
  43       * @return string[] All registered command names
  44       */
  45      public function getNames();
  46  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1