src/Valkyrja/ORM/NativeEntityManager.php
public function save(Entity $entity): void
    {
        $id = spl_object_id($entity);

        $this->saveModels[$id] = $entity;
    }
public function save(Entity $entity): void
    {
        $id = spl_object_id($entity);

        $this->saveModels[$id] = $entity;
    }
Set a model for saving on transaction commit.

@param Entity $entity

@return void