public function load(ObjectManager $manager) { $round = new Round(); $round->setStarted(true); $round->setWalletAccount('ponzi'); $manager->persist($round); $manager->flush(); }
public function defineWalletAccount(Round $round) { $round->setWalletAccount($this->walletAccountPrefix . $round->getId()); $this->em->flush($round); }