You are here

public function ItemsIndexedEvent::__construct in Search API 8

Constructs a new class instance.

Parameters

\Drupal\search_api\IndexInterface $index: The index that indexed the items.

int[] $processedIds: The processed IDs.

File

src/Event/ItemsIndexedEvent.php, line 35

Class

ItemsIndexedEvent
Wraps an items indexed event.

Namespace

Drupal\search_api\Event

Code

public function __construct(IndexInterface $index, array $processedIds) {
  $this->index = $index;
  $this->processedIds = $processedIds;
}