|
@@ 202-214 (lines=13) @@
|
| 199 |
|
* @param RegistrationAuthorityRetractedForInstitutionEvent $event |
| 200 |
|
* @return void |
| 201 |
|
*/ |
| 202 |
|
public function applyRegistrationAuthorityRetractedForInstitutionEvent(RegistrationAuthorityRetractedForInstitutionEvent $event) |
| 203 |
|
{ |
| 204 |
|
$candidate = RaCandidate::nominate( |
| 205 |
|
$event->identityId, |
| 206 |
|
$event->identityInstitution, |
| 207 |
|
$event->nameId, |
| 208 |
|
$event->commonName, |
| 209 |
|
$event->email, |
| 210 |
|
$event->raInstitution |
| 211 |
|
); |
| 212 |
|
|
| 213 |
|
$this->raCandidateRepository->merge($candidate); |
| 214 |
|
} |
| 215 |
|
|
| 216 |
|
protected function applyIdentityForgottenEvent(IdentityForgottenEvent $event) |
| 217 |
|
{ |
|
@@ 260-272 (lines=13) @@
|
| 257 |
|
* @param RegistrationAuthorityRetractedEvent $event |
| 258 |
|
* @return void |
| 259 |
|
*/ |
| 260 |
|
public function applyRegistrationAuthorityRetractedEvent(RegistrationAuthorityRetractedEvent $event) |
| 261 |
|
{ |
| 262 |
|
$candidate = RaCandidate::nominate( |
| 263 |
|
$event->identityId, |
| 264 |
|
$event->identityInstitution, |
| 265 |
|
$event->nameId, |
| 266 |
|
$event->commonName, |
| 267 |
|
$event->email, |
| 268 |
|
$event->identityInstitution |
| 269 |
|
); |
| 270 |
|
|
| 271 |
|
$this->raCandidateRepository->merge($candidate); |
| 272 |
|
} |
| 273 |
|
|
| 274 |
|
/** |
| 275 |
|
* @param Institution $institution |