Composer API
Interface

Composer\Plugin\Capability\CommandProvider

interface CommandProvider implements Capability

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

BaseCommand[] getCommands()

Retreives an array of commands

Details

at line 32
public BaseCommand[] getCommands()

Retreives an array of commands

Return Value

BaseCommand[]