function ManageOptions::__construct

Same name in other branches
  1. 9 composer/Plugin/Scaffold/ManageOptions.php \Drupal\Composer\Plugin\Scaffold\ManageOptions::__construct()
  2. 10 composer/Plugin/Scaffold/ManageOptions.php \Drupal\Composer\Plugin\Scaffold\ManageOptions::__construct()
  3. 11.x composer/Plugin/Scaffold/ManageOptions.php \Drupal\Composer\Plugin\Scaffold\ManageOptions::__construct()

ManageOptions constructor.

Parameters

\Composer\Composer $composer: The Composer service.

File

composer/Plugin/Scaffold/ManageOptions.php, line 33

Class

ManageOptions
Per-project options from the 'extras' section of the composer.json file.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function __construct(Composer $composer) {
    $this->composer = $composer;
}

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