Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class Typo3 implements Iface |
||
21 | { |
||
22 | private \Closure $closure; |
||
23 | |||
24 | /** |
||
25 | * Initializes the instance of the class. |
||
26 | * |
||
27 | * @param \Closure $closure Closure generating TYPO3 mail message objects |
||
28 | */ |
||
29 | public function __construct( \Closure $closure ) |
||
32 | } |
||
33 | |||
34 | |||
35 | /** |
||
36 | * Returns the mailer for the given name |
||
37 | * |
||
38 | * @param string $name Key for the mailer |
||
39 | * @return \Aimeos\Base\Mail\Iface Mail object |
||
40 | * @throws \Aimeos\Base\Mail\Exception If an error occurs |
||
41 | */ |
||
42 | public function get( string $name ) : \Aimeos\Base\Mail\Iface |
||
47 |