CommandProvider.php
Same filename in other branches
Namespace
Drupal\Composer\Plugin\ScaffoldFile
-
composer/
Plugin/ Scaffold/ CommandProvider.php
View source
<?php
namespace Drupal\Composer\Plugin\Scaffold;
use Composer\Plugin\Capability\CommandProvider as CommandProviderCapability;
/**
* List of all commands provided by this package.
*
* @internal
*/
class CommandProvider implements CommandProviderCapability {
/**
* {@inheritdoc}
*/
public function getCommands() {
return [
new ComposerScaffoldCommand(),
];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
CommandProvider | List of all commands provided by this package. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.