/** * @return Configuration */ public function getUpdatedObject() { $clone = new Configuration(); $clone->setAdministrationGroup($this->getAdministrationGroup()); $clone->setElectionManagerGroup($this->getElectionManagerGroup()); $clone->setPollManagerGroup($this->getPollManagerGroup()); $clone->setPluginPid($this->getPluginPid()); $clone->setNumberOfMails($this->getNumberOfMails()); $clone->setFromEmail($this->getFromEmail()); $clone->setFromName($this->getFromName()); $clone->setDebug($this->isDebug()); $clone->setTestEmail($this->getTestEmail()); return $clone; }