Vulcan\Search\Extensions\SearchIndexExtension::onAfterWrite
We want to index the record on write. If the record is an instance of Page the record will be indexed only if the page is published or unindexed if otherwise
Signature
public function onAfterWrite()