/** * Remove fields * * @param \Akeneo\Bundle\BatchBundle\Entity\FieldMapping $fields */ public function removeField(\Akeneo\Bundle\BatchBundle\Entity\FieldMapping $fields) { $this->fields->removeElement($fields); }