\app\framework\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) : \app\framework\Component\Console\Command\Command

Loads a Command.

Parameters

string $name

Throws

\app\framework\Component\Console\Exception\CommandNotFoundException

Returns

\app\framework\Component\Console\Command\Command

has()

has(string  $name) : boolean

Checks if an command exists.

Parameters

string $name

Returns

boolean

getNames()

getNames() : array<mixed,String>

Returns

array<mixed,String> —

All registered command names