Doctrine\ORM\Persisters\BasicEntityPersister::executeInserts
Executes all queued entity insertions and returns any generated post-insert identifiers that were created as a result of the insertions.
If no inserts are queued, invoking this method is a NOOP.
Signature
public function executeInserts()
Returns
- array
- An array of any generated post-insert IDs. This will be an empty array
if the entity class does not use the IDENTITY generation strategy.