public function postPersist(LifecycleEventArgs $eventArgs)
    {
        $entity = $eventArgs->getObject();

        if ($this->objectPersister->handlesObject($entity) && $this->isObjectIndexable($entity)) {
            $this->scheduledForInsertion[] = $entity;
        }
    }
public function postPersist(LifecycleEventArgs $eventArgs)
    {
        $entity = $eventArgs->getObject();

        if ($this->objectPersister->handlesObject($entity) && $this->isObjectIndexable($entity)) {
            $this->scheduledForInsertion[] = $entity;
        }
    }
public function postPersist ( LifecycleEventArgs $ eventArgs ) { $ entity = $ eventArgs -> getObject ( ) ; if ( $ this -> objectPersister -> handlesObject ( $ entity ) && $ this -> isObjectIndexable ( $ entity ) ) { $ this -> scheduledForInsertion [ ] = $ entity ; } }
Looks for new objects that should be indexed.

@param LifecycleEventArgs $eventArgs
Looks for new objects that should be indexed .