You are here

public function CollectPathsEvent::__construct in Tome 8

Constructs a CollectPathsEvent object.

Parameters

array $paths: An array of paths.

File

modules/tome_static/src/Event/CollectPathsEvent.php, line 35

Class

CollectPathsEvent
Wraps an array of paths that will be processed by the static generator.

Namespace

Drupal\tome_static\Event

Code

public function __construct(array $paths) {
  $this->paths = array_fill_keys($paths, []);
}