| @@ 320-335 (lines=16) @@ | ||
| 317 | ); |
|
| 318 | } |
|
| 319 | ||
| 320 | public function updateUseRaOption(InstitutionAuthorizationOption $useRaOption) |
|
| 321 | { |
|
| 322 | if ($this->useRaOption !== null |
|
| 323 | && $this->useRaOption->equals($useRaOption) |
|
| 324 | ) { |
|
| 325 | return; |
|
| 326 | } |
|
| 327 | ||
| 328 | $this->apply( |
|
| 329 | new UseRaOptionChangedEvent( |
|
| 330 | $this->institutionConfigurationId, |
|
| 331 | $this->institution, |
|
| 332 | $useRaOption |
|
| 333 | ) |
|
| 334 | ); |
|
| 335 | } |
|
| 336 | ||
| 337 | public function updateUseRaaOption(InstitutionAuthorizationOption $useRaaOption) |
|
| 338 | { |
|
| @@ 337-352 (lines=16) @@ | ||
| 334 | ); |
|
| 335 | } |
|
| 336 | ||
| 337 | public function updateUseRaaOption(InstitutionAuthorizationOption $useRaaOption) |
|
| 338 | { |
|
| 339 | if ($this->useRaaOption !== null |
|
| 340 | && $this->useRaaOption->equals($useRaaOption) |
|
| 341 | ) { |
|
| 342 | return; |
|
| 343 | } |
|
| 344 | ||
| 345 | $this->apply( |
|
| 346 | new UseRaaOptionChangedEvent( |
|
| 347 | $this->institutionConfigurationId, |
|
| 348 | $this->institution, |
|
| 349 | $useRaaOption |
|
| 350 | ) |
|
| 351 | ); |
|
| 352 | } |
|
| 353 | ||
| 354 | public function updateSelectRaaOption(InstitutionAuthorizationOption $selectRaaOption) |
|
| 355 | { |
|
| @@ 354-369 (lines=16) @@ | ||
| 351 | ); |
|
| 352 | } |
|
| 353 | ||
| 354 | public function updateSelectRaaOption(InstitutionAuthorizationOption $selectRaaOption) |
|
| 355 | { |
|
| 356 | if ($this->selectRaaOption !== null |
|
| 357 | && $this->selectRaaOption->equals($selectRaaOption) |
|
| 358 | ) { |
|
| 359 | return; |
|
| 360 | } |
|
| 361 | ||
| 362 | $this->apply( |
|
| 363 | new SelectRaaOptionChangedEvent( |
|
| 364 | $this->institutionConfigurationId, |
|
| 365 | $this->institution, |
|
| 366 | $selectRaaOption |
|
| 367 | ) |
|
| 368 | ); |
|
| 369 | } |
|
| 370 | ||
| 371 | public function updateAllowedSecondFactorList(AllowedSecondFactorList $allowedSecondFactorList) |
|
| 372 | { |
|