class CommandProvider in Drupal 9
Same name and namespace in other branches
- 8 composer/Plugin/Scaffold/CommandProvider.php \Drupal\Composer\Plugin\Scaffold\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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CommandProvider:: |
public | function |