Documentation

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

Methods

__construct()

PluginCommandLoader constructor.

public __construct(string $name) : mixed
Parameters
$name : string

get()

public get(string $name) : Command
Parameters
$name : string
Return values
Command

getNames()

public getNames() : array<string|int, string>
Return values
array<string|int, string>

        
On this page

Search results