src/Stores/AbstractStore.php
public function markSaved($model)
    {
        $hash = spl_object_hash($model);

        if (isset($this->pending[$hash])) {
            unset($this->pending[$hash]);
        }

        $this->saved[$hash] = $model;
    }
public function markSaved($model)
    {
        $hash = spl_object_hash($model);

        if (isset($this->pending[$hash])) {
            unset($this->pending[$hash]);
        }

        $this->saved[$hash] = $model;
    }
public function markSaved ( $ model ) { $ hash = spl_object_hash ( $ model ) ; if ( isset ( $ this -> pending [ $ hash ] ) ) { unset ( $ this -> pending [ $ hash ] ) ; } $ this -> saved [ $ hash ] = $ model ; }
Mark a model as saved.

@param object $model The model instance.

@return void
Mark a model as saved .