You are here

public function ManageOptions::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 composer/Plugin/Scaffold/ManageOptions.php \Drupal\Composer\Plugin\Scaffold\ManageOptions::__construct()
  2. 10 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;
}