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

Breadcrumb

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

function CommandLoaderInterface::get

Loads a command.

Throws

CommandNotFoundException

2 methods override CommandLoaderInterface::get()
ContainerCommandLoader::get in vendor/symfony/console/CommandLoader/ContainerCommandLoader.php
Loads a command.
FactoryCommandLoader::get in vendor/symfony/console/CommandLoader/FactoryCommandLoader.php
Loads a command.

File

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

Class

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

Namespace

Symfony\Component\Console\CommandLoader

Code

public function get(string $name) : Command;
RSS feed
Powered by Drupal