public function DrupalCoreComposer::__construct in Drupal 9
Same name and namespace in other branches
- 8 composer/Generator/Util/DrupalCoreComposer.php \Drupal\Composer\Generator\Util\DrupalCoreComposer::__construct()
- 10 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;
}