class CommandProvider
List of all commands provided by this package.
@internal
Hierarchy
- class \Drupal\Composer\Plugin\Scaffold\CommandProvider implements \Composer\Plugin\Capability\CommandProvider
Expanded class hierarchy of CommandProvider
1 file declares its use of CommandProvider
- Plugin.php in composer/
Plugin/ Scaffold/ Plugin.php
File
-
composer/
Plugin/ Scaffold/ CommandProvider.php, line 12
Namespace
Drupal\Composer\Plugin\ScaffoldView source
class CommandProvider implements CommandProviderCapability {
/**
* {@inheritdoc}
*/
public function getCommands() {
return [
new ComposerScaffoldCommand(),
];
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
CommandProvider::getCommands | public | function | Retrieves an array of commands | Overrides CommandProvider::getCommands |