*/ class EntryCreated extends WikiCreatedEvent implements UpdateRelatedIndicesEvent { public function updateRelatedIndices(): void { $entry = $this->getModel(); $entry->videos->each(fn (Video $video) => $video->searchable()); } }