| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | abstract class AbstractDriverFactory extends AbstractFactory |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var array<mixed> |
||
| 18 | */ |
||
| 19 | protected array $defaultOptions = []; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param array<string, mixed>|null $options |
||
| 23 | * |
||
| 24 | * @return array<string, mixed> |
||
| 25 | * |
||
| 26 | * @throws ServiceNotCreatedException |
||
| 27 | * @throws ContainerExceptionInterface |
||
| 28 | * @throws NotFoundExceptionInterface |
||
| 29 | */ |
||
| 30 | protected function getOptions(ContainerInterface $container, string $driverName, ?array $options = null): array |
||
| 48 |