You are here

public function AllowedPackages::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 composer/Plugin/Scaffold/AllowedPackages.php \Drupal\Composer\Plugin\Scaffold\AllowedPackages::__construct()

AllowedPackages constructor.

Parameters

\Composer\Composer $composer: The composer object.

\Composer\IO\IOInterface $io: IOInterface to write to.

\Drupal\Composer\Plugin\Scaffold\ManageOptions $manage_options: Manager of the options in the top-level composer.json's 'extra' section.

File

composer/Plugin/Scaffold/AllowedPackages.php, line 59

Class

AllowedPackages
Determine recursively which packages have been allowed to scaffold files.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function __construct(Composer $composer, IOInterface $io, ManageOptions $manage_options) {
  $this->composer = $composer;
  $this->io = $io;
  $this->manageOptions = $manage_options;
}