Doctrine\ORM\Persisters\BasicEntityPersister::_prepareInsertData
Prepares the data changeset of a managed entity for database insertion (initial INSERT).
The changeset of the entity is obtained from the currently running UnitOfWork. The default insert data preparation is the same as for updates.
Signature
Parameters
$entity
— object- The entity for which to prepare the data.
Returns
- array
- The prepared data for the tables to update.