/** * Delete existing customer * * @param CustomerEntity $customerEntity * @return integer */ public function deleteCustomer(CustomerEntity $customerEntity) { return $this->delete(array('id' => $customerEntity->getId())); }