\Symfony\Component\Console\CommandLoaderCommandLoaderInterface

Summary

Methods
Constants
get()
has()
getNames()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

get()

get(string  $name) : \Symfony\Component\Console\Command\Command

Loads a command.

Parameters

string $name

Throws

\Symfony\Component\Console\Exception\CommandNotFoundException

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