function ImmutablePathList::add

File

core/modules/package_manager/src/ImmutablePathList.php, line 24

Class

ImmutablePathList
Defines a path list that cannot be changed.

Namespace

Drupal\package_manager

Code

public function add(string ...$paths) : never {
    throw new \LogicException('Immutable path lists cannot be changed.');
}

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