public function markPersisted()
    {
        try {
            if( $repository = $this->r() ) {
                $repository->isNew( $this, false );
            }
        } catch ( EntityMissingEntityManagerException $e ) {
        }
        $this->checksumReset();
        $this->clearDataInitialStore();
        return $this;
    }
public function markPersisted()
    {
        try {
            if( $repository = $this->r() ) {
                $repository->isNew( $this, false );
            }
        } catch ( EntityMissingEntityManagerException $e ) {
        }
        $this->checksumReset();
        $this->clearDataInitialStore();
        return $this;
    }
public function markPersisted ( ) { try { if ( $ repository = $ this -> r ( ) ) { $ repository -> isNew ( $ this , false ) ; } } catch ( EntityMissingEntityManagerException $ e ) { } $ this -> checksumReset ( ) ; $ this -> clearDataInitialStore ( ) ; return $ this ; }
Mark a entity as persisted
@return void
Mark a entity as persisted