CommandProvider.php

Same filename in this branch
  1. 11.x composer/Plugin/Scaffold/CommandProvider.php
Same filename in other branches
  1. 9 composer/Plugin/Scaffold/CommandProvider.php
  2. 8.9.x composer/Plugin/Scaffold/CommandProvider.php
  3. 10 composer/Plugin/Scaffold/CommandProvider.php

Namespace

Drupal\Composer\Plugin\RecipeUnpack

File

composer/Plugin/RecipeUnpack/CommandProvider.php

View source
<?php

namespace Drupal\Composer\Plugin\RecipeUnpack;

use Composer\Plugin\Capability\CommandProvider as CommandProviderCapability;

/**
 * List of all commands provided by this package.
 *
 * @internal
 */
final class CommandProvider implements CommandProviderCapability {
    
    /**
     * {@inheritdoc}
     */
    public function getCommands() : array {
        return [
            new UnpackCommand(),
        ];
    }

}

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.