src/Valkyrja/ORM/Repositories/PDORepository.php
public function create(Entity $entity): bool
    {
        $this->validateEntity($entity);

        return $this->saveCreateDelete('insert', $entity);
    }
public function create(Entity $entity): bool
    {
        $this->validateEntity($entity);

        return $this->saveCreateDelete('insert', $entity);
    }
Create a new model.

<code>
$this->create(Entity::class)
</code>

@param \Valkyrja\ORM\Entity $entity

@throws ExecuteException
@throws InvalidArgumentException
@throws InvalidEntityException

@return bool