Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class TransportFactory |
||
9 | { |
||
10 | /** |
||
11 | * Creates one of the transport supported according to the type passed. |
||
12 | * |
||
13 | * @param array $options the options to configure the transport |
||
14 | * @param string $type the type of transport |
||
15 | * |
||
16 | 2 | * @return MailTransportFactory|SendMailTransportFactory|SmtpTransportFactory |
|
17 | */ |
||
18 | public static function create(array $options, $type) |
||
32 |