interface CommandProvider implements Capability (View source)

Commands Provider Interface

This capability will receive an array with 'composer' and 'io' keys as constructor argument. Those contain Composer\Composer and Composer\IO\IOInterface instances. It also contains a 'plugin' key containing the plugin instance that created the capability.

Methods

getCommands()

Retrieves an array of commands

Details

BaseCommand[] getCommands()

Retrieves an array of commands

Return Value

BaseCommand[]