/** * Save account group type in the session * * @param AccountGroupType $groupType */ private function setAccountGroupType(AccountGroupType $groupType) { $this->get('session')->set('client.accounts.account_group_type_id', $groupType->getId()); }