| Total Complexity | 1 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | abstract class AbstractTransportFactory |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array the options to configure the transport instance to create. |
||
| 11 | */ |
||
| 12 | protected $options; |
||
| 13 | /** |
||
| 14 | * AbstractTransportFactory constructor. |
||
| 15 | * |
||
| 16 | 5 | * @param array $options |
|
| 17 | */ |
||
| 18 | 5 | protected function __construct(array $options) |
|
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return TransportInterface |
||
| 25 | */ |
||
| 26 | abstract public function create(); |
||
| 27 | } |
||
| 28 |