| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | 1 | public function create(Container $container, Channel $channel, array $request, array $headers) |
|
| 25 | { |
||
| 26 | /** @var Driver $driver */ |
||
| 27 | 1 | $driver = $container->make(DriverManager::class)->get($channel); |
|
| 28 | |||
| 29 | 1 | $driver->fill($channel->getParameters(), $request, $headers); |
|
| 30 | |||
| 31 | 1 | Kernel::createInstance($container, $channel, $driver); |
|
| 32 | |||
| 33 | 1 | return Kernel::getInstance(); |
|
| 34 | } |
||
| 35 | } |
||
| 36 |