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