public function removeOauthAccount(UserOauthAccount $oauthAccounts) { $this->oauthAccounts->removeElement($oauthAccounts); }