League\FactoryMuffin\Stores\AbstractStore::markSaved PHP Method

markSaved() public method

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