Copied!

Loads commands from a PSR-11 container.

CloneableInstantiable
Methods
public __construct(Psr\Container\ContainerInterface $container, array $commandMap)
 
  • param array $commandMap An array with command names as keys and service ids as values
public get(string $name) : Symfony\Component\Console\Command\Command
public getNames() : array
public has(string $name) : bool
Properties
private array $commandMap
private Psr\Container\ContainerInterface $container
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration