function InstalledPackagesList::offsetSet

File

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

Class

InstalledPackagesList
Defines a class to list installed Composer packages.

Namespace

Drupal\package_manager

Code

public function offsetSet(mixed $key, mixed $value) : 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.