public function Handler::__construct in Drupal 9
Same name and namespace in other branches
- 8 composer/Plugin/Scaffold/Handler.php \Drupal\Composer\Plugin\Scaffold\Handler::__construct()
- 10 composer/Plugin/Scaffold/Handler.php \Drupal\Composer\Plugin\Scaffold\Handler::__construct()
Handler constructor.
Parameters
\Composer\Composer $composer: The Composer service.
\Composer\IO\IOInterface $io: The Composer I/O service.
File
- composer/
Plugin/ Scaffold/ Handler.php, line 78
Class
- Handler
- Core class of the plugin.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function __construct(Composer $composer, IOInterface $io) {
$this->composer = $composer;
$this->io = $io;
$this->manageOptions = new ManageOptions($composer);
$this->manageAllowedPackages = new AllowedPackages($composer, $io, $this->manageOptions);
}