function ExecutableFinder::__construct
File
-
core/
modules/ package_manager/ src/ ExecutableFinder.php, line 39
Class
- ExecutableFinder
- An executable finder which looks for executable paths in configuration.
Namespace
Drupal\package_managerCode
public function __construct(private readonly ExecutableFinderInterface $decorated, private readonly FileSystemInterface $fileSystem, private readonly ConfigFactoryInterface $configFactory) {
$this->composerPackagePath = InstalledVersions::isInstalled('composer/composer') ? InstalledVersions::getInstallPath('composer/composer') : FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.