I am saving an entity and I would want to get its ID.
$CustomerEntity = CustomerEntity::create([
'customer_id' => $customer['id'],
'customer_name' => $customer['name'],
'address' => $customer['address'],
]);
$CustomerEntity->save();
How do I get the entity ID with that code?