CommandLoaderInterface
in
Tags
Table of Contents
- get() : Command
- Loads a command.
- getNames() : array<string|int, string>
- has() : bool
- Checks if a command exists.
Methods
get()
Loads a command.
public
get(string $name) : Command
Parameters
- $name : string
Tags
Return values
Command —getNames()
public
getNames() : array<string|int, string>
Return values
array<string|int, string> —All registered command names
has()
Checks if a command exists.
public
has(string $name) : bool
Parameters
- $name : string