DevToolsCommandProvider
in package
implements
CommandProvider
FinalYes
Provides a registry of custom dev-tools commands mapped for Composer integration.
This capability struct MUST implement the defined CommandProviderCapability.
Table of Contents
Interfaces
- CommandProvider
Methods
- getCommands() : array<int, AbstractCommand>
- Dispatches the comprehensive collection of CLI commands.
Methods
getCommands()
Dispatches the comprehensive collection of CLI commands.
public
getCommands() : array<int, AbstractCommand>
The method MUST yield an array of instantiated command classes representing the tools. It SHALL be queried by the Composer plugin dynamically during runtime execution.
Return values
array<int, AbstractCommand> —the commands defined within the toolset