public function DrupalCoreComposer::__construct in Drupal 10
Same name and namespace in other branches
- 8 composer/Generator/Util/DrupalCoreComposer.php \Drupal\Composer\Generator\Util\DrupalCoreComposer::__construct()
- 9 composer/Generator/Util/DrupalCoreComposer.php \Drupal\Composer\Generator\Util\DrupalCoreComposer::__construct()
DrupalCoreComposer constructor.
Parameters
array $composerJson: The composer.json data.
array $composerLock: The composer.lock data.
File
- composer/
Generator/ Util/ DrupalCoreComposer.php, line 35
Class
- DrupalCoreComposer
- Utilities for accessing composer.json data from drupal/drupal and drupal/core.
Namespace
Drupal\Composer\Generator\UtilCode
public function __construct(array $composerJson, array $composerLock) {
$this->composerJson = $composerJson;
$this->composerLock = $composerLock;
}