FoxyCommandProvider
API reference › Foxy › Command › FoxyCommandProvider
Provides Foxy’s Composer console commands.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates the provider from Composer’s capability arguments. | FoxyCommandProvider |
getCommands() | Returns the Foxy commands configured with the active Composer context. | FoxyCommandProvider |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(array<string, mixed> $arguments)Creates the provider from Composer’s capability arguments.
Parameters
| Parameter | Type | Description |
|---|---|---|
$arguments | array<string, | Composer, I/O, and plugin instances supplied by Composer. |
getCommands()
Section titled “getCommands() ”public function getCommands(): list<Composer\Command\BaseCommand>Returns the Foxy commands configured with the active Composer context.
Returns
list<Composer\Command\BaseCommand>