1 | <?php |
||
7 | class MailDriver implements DriverInterface |
||
8 | { |
||
9 | |||
10 | protected $mailer; |
||
11 | |||
12 | |||
13 | /** |
||
14 | * MailDriver constructor. |
||
15 | * |
||
16 | * @param Mailer $mailer |
||
17 | */ |
||
18 | public function __construct(Mailer $mailer) |
||
22 | |||
23 | |||
24 | /** |
||
25 | * It sends e-mail notification for a given exception. |
||
26 | * |
||
27 | * @param \Exception $exception |
||
28 | */ |
||
29 | public function send(\Exception $exception) |
||
39 | } |