Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CommandLoaderInterface.php

interface CommandLoaderInterface

@author Robin Chalas <robin.chalas@gmail.com>

Hierarchy

  • interface \Symfony\Component\Console\CommandLoader\CommandLoaderInterface

Expanded class hierarchy of CommandLoaderInterface

All classes that implement CommandLoaderInterface

1 file declares its use of CommandLoaderInterface
Application.php in vendor/symfony/console/Application.php

File

vendor/symfony/console/CommandLoader/CommandLoaderInterface.php, line 20

Namespace

Symfony\Component\Console\CommandLoader
View source
interface CommandLoaderInterface {
    
    /**
     * Loads a command.
     *
     * @throws CommandNotFoundException
     */
    public function get(string $name) : Command;
    
    /**
     * Checks if a command exists.
     */
    public function has(string $name) : bool;
    
    /**
     * @return string[]
     */
    public function getNames() : array;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
CommandLoaderInterface::get public function Loads a command. 2
CommandLoaderInterface::getNames public function 2
CommandLoaderInterface::has public function Checks if a command exists. 2

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal