function InstalledPackagesList::exchangeArray

File

core/modules/package_manager/src/InstalledPackagesList.php, line 56

Class

InstalledPackagesList
Defines a class to list installed Composer packages.

Namespace

Drupal\package_manager

Code

public function exchangeArray(mixed $array) : never {
    throw new \LogicException('Installed package lists cannot be modified.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.