public function processStoreResult($pod, $revision, $id = null)
    {
        $pod->setSaved();
        $pod->setRevision($revision);

        if ($id && $pod->getId() === null) {
            $pod->setId($id);
        }

        //Signal here
        $this->notify("after_store", $pod);

        return $pod->getKey();
    }
public function processStoreResult($pod, $revision, $id = null)
    {
        $pod->setSaved();
        $pod->setRevision($revision);

        if ($id && $pod->getId() === null) {
            $pod->setId($id);
        }

        //Signal here
        $this->notify("after_store", $pod);

        return $pod->getKey();
    }
public function processStoreResult ( $ pod , $ revision , $ id = null ) { $ pod -> setSaved ( ) ; $ pod -> setRevision ( $ revision ) ; if ( $ id && $ pod -> getId ( ) === null ) { $ pod -> setId ( $ id ) ; } //Signal here $ this -> notify ( "after_store" , $ pod ) ; return $ pod -> getKey ( ) ; }
Process the result after storing a pod.
@param Paraodx\pod\Document|Paradox\pod\Vertex|Paradox\pod\Edge $pod      The pod to process.
@param string                                                   $revision The revision of the pod.
@param string                                                   $id       The id of the pod.
Process the result after storing a pod .