| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function sendUpdateEmailConfirmation(UserInterface $user, $confirmationUrl, $toEmail) |
||
| 20 | { |
||
| 21 | $template = $this->parameters['template']['email_updating']; |
||
| 22 | $context = array( |
||
| 23 | 'user' => $user, |
||
| 24 | 'confirmationUrl' => $confirmationUrl, |
||
| 25 | ); |
||
| 26 | |||
| 27 | $this->sendMessage($template, $context, $this->parameters['from_email']['confirmation'], $toEmail); |
||
| 28 | } |
||
| 29 | } |
||
| 30 |