function CollectPathsToExcludeEvent::add

File

core/modules/package_manager/src/Event/CollectPathsToExcludeEvent.php, line 48

Class

CollectPathsToExcludeEvent
Defines an event that collects paths to exclude.

Namespace

Drupal\package_manager\Event

Code

public function add(string ...$paths) : void {
    $this->pathList
        ->add(...$paths);
}

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