PluginCommandLoader
in package
implements
CommandLoaderInterface
Class GpmApplication
Table of Contents
Interfaces
- CommandLoaderInterface
Properties
- $commands : array<string|int, mixed>
Methods
- __construct() : mixed
- PluginCommandLoader constructor.
- get() : Command
- getNames() : array<string|int, string>
- has() : bool
Properties
$commands
private
array<string|int, mixed>
$commands
Methods
__construct()
PluginCommandLoader constructor.
public
__construct(string $name) : mixed
Parameters
- $name : string
get()
public
get(string $name) : Command
Parameters
- $name : string
Return values
CommandgetNames()
public
getNames() : array<string|int, string>
Return values
array<string|int, string>has()
public
has(string $name) : bool
Parameters
- $name : string