Doctrine\ORM\UnitOfWork::createEntity
INTERNAL: Creates an entity. Used for reconstitution of persistent entities.
Signature
public function createEntity(string
$className,
array&
$data,
array&
$hints )
Parameters
$className
— string- The name of the entity class.
$data
— array- The data for the entity.
$hints
— array- Any hints to account for during reconstitution/lookup of the entity.
Returns
- The managed entity instance.
Line | Task |
---|---|
2415+ | Rename: getOrCreateEntity |