\Symfony\Component\Console\CommandLoaderFactoryCommandLoader

A simple command loader using factories to instantiate commands lazily.

Summary

Methods
Properties
Constants
__construct()
has()
get()
getNames()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$factories
N/A

Properties

$factories

$factories : 

Type

Methods

__construct()

__construct(array<mixed,callable>  $factories) 

Parameters

array<mixed,callable> $factories

Indexed by command names

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