1 | <?php |
||
14 | class DrupalMailManager implements DrupalMailManagerInterface { |
||
15 | |||
16 | /** |
||
17 | * The active Drupal driver. |
||
18 | * |
||
19 | * @var \Drupal\Driver\DriverInterface |
||
20 | */ |
||
21 | protected $driver; |
||
22 | |||
23 | /** |
||
24 | * The name or config array of the initial mail backend. |
||
25 | * |
||
26 | * @var mixed |
||
27 | */ |
||
28 | protected $initialMailBackend; |
||
29 | |||
30 | public function __construct(DriverInterface $driver) { |
||
33 | |||
34 | /** |
||
35 | * Replace the initial mail backend with the test mail backend. |
||
36 | */ |
||
37 | protected function enableTestMailBackend() { |
||
44 | |||
45 | /** |
||
46 | * Restore the initial mail backend. |
||
47 | */ |
||
48 | protected function restoreInitialMailBackend() { |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function startCollectingMail() { |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function stopCollectingMail() { |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function enableMail() { |
||
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | public function disableMail() { |
||
80 | |||
81 | /** |
||
82 | * {@inheritdoc} |
||
83 | */ |
||
84 | public function getMail($store = 'default') { |
||
87 | |||
88 | /** |
||
89 | * {@inheritdoc} |
||
90 | */ |
||
91 | public function clearMail($store = 'default') { |
||
94 | |||
95 | } |
||
96 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.