Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

CommandProvider.php

Same filename in this branch
  1. 11.1.x vendor/composer/composer/src/Composer/Plugin/Capability/CommandProvider.php

Namespace

Drupal\Composer\Plugin\Scaffold

File

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.
RSS feed
Powered by Drupal