function ComposerInspector::__construct
Same name and namespace in other branches
- 11.x core/modules/package_manager/src/ComposerInspector.php \Drupal\package_manager\ComposerInspector::__construct()
File
-
core/
modules/ package_manager/ src/ ComposerInspector.php, line 59
Class
- ComposerInspector
- Defines a class to get information from Composer.
Namespace
Drupal\package_managerCode
public function __construct(private readonly ComposerProcessRunnerInterface $runner, private readonly ComposerIsAvailableInterface $composerIsAvailable, private readonly PathFactoryInterface $pathFactory) {
$this->processCallback = new ProcessOutputCallback();
$this->setLogger(new NullLogger());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.