__construct() __construct(\Psr\Container\ContainerInterface $container, array $commandMap) Parameters \Psr\Container\ContainerInterface $container A container from which to load command services array $commandMap An array with command names as keys and service ids as values
get() get(string $name) : \Symfony\Component\Console\Command\Command Loads a command. Parameters string $name Returns \Symfony\Component\Console\Command\Command
has() has(string $name) : boolean Checks if a command exists. Parameters string $name Returns boolean
getNames() getNames() : array<mixed,string> Returns array<mixed,string> — All registered command names