function AllowedPackages::__construct
Same name in other branches
- 9 composer/Plugin/Scaffold/AllowedPackages.php \Drupal\Composer\Plugin\Scaffold\AllowedPackages::__construct()
- 8.9.x composer/Plugin/Scaffold/AllowedPackages.php \Drupal\Composer\Plugin\Scaffold\AllowedPackages::__construct()
- 10 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 58
Class
- AllowedPackages
- Determine recursively which packages have been allowed to scaffold files.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function __construct(Composer $composer, IOInterface $io, ManageOptions $manage_options) {
$this->composer = $composer;
$this->io = $io;
$this->manageOptions = $manage_options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.