public function removeAccount(AccountInterface $account) { $this->accounts->removeElement($account); }