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

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

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

@param \Valkyrja\ORM\Entity $entity

@return void