| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 29 | public function send($template, array $recipients, array $data = array()) |
||
| 30 | { |
||
| 31 | $data = $this->twig->mergeGlobals($data); |
||
| 32 | $template = $this->twig->loadTemplate($template); |
||
| 33 | $content = $template->renderBlock('content', $data); |
||
| 34 | $originator = $template->renderBlock('originator', $data); |
||
| 35 | |||
| 36 | $this->sender->send($recipients[0], $content, $originator); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |