1 | <?php |
||
14 | class DrupalMailManager implements DrupalMailManagerInterface |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * The active Drupal driver. |
||
19 | * |
||
20 | * @var \Drupal\Driver\DriverInterface |
||
21 | */ |
||
22 | protected $driver; |
||
23 | |||
24 | public function __construct(DriverInterface $driver) |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function startCollectingMail() |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function stopCollectingMail() |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function enableMail() |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function disableMail() |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function getMail($store = 'default') |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function clearMail($store = 'default') |
||
77 | } |
||
78 |