You are here

class CommandProvider in Drupal 8

Same name and namespace in other branches
  1. 9 composer/Plugin/Scaffold/CommandProvider.php \Drupal\Composer\Plugin\Scaffold\CommandProvider
  2. 10 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\Scaffold
View source
class CommandProvider implements CommandProviderCapability {

  /**
   * {@inheritdoc}
   */
  public function getCommands() {
    return [
      new ComposerScaffoldCommand(),
    ];
  }

}

Members