class CommandProvider

Same name in other branches
  1. 9 composer/Plugin/Scaffold/CommandProvider.php \Drupal\Composer\Plugin\Scaffold\CommandProvider
  2. 8.9.x composer/Plugin/Scaffold/CommandProvider.php \Drupal\Composer\Plugin\Scaffold\CommandProvider
  3. 11.x 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

Title Sort descending Modifiers Object type Summary
CommandProvider::getCommands public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.