/** * Sets the data for the distributor. * @param Distributor $distributor The distributor to process */ private function setDistributorData (Distributor $distributor) { $distributor->setName($this->getParameter("name")); $distributor->setComment($this->getParameter("comment", "")); $distributor->setAddress($this->getParameter("address", "")); $distributor->setURL($this->getParameter("url", "")); $distributor->setEmail($this->getParameter("email", "")); }