| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function __construct(PackageManager $manager) |
||
| 26 | { |
||
| 27 | // initialize driver instance (based on the configuration input collected from the package manager) |
||
| 28 | $driver = DriversFactory::make( |
||
| 29 | $manager->getDriverName(), |
||
| 30 | $manager->getDriverParameters(), |
||
| 31 | $manager->getHttpClient() |
||
| 32 | ); |
||
| 33 | |||
| 34 | $this->setDriver($driver); |
||
| 35 | } |
||
| 36 | |||
| 53 |