| Total Complexity | 6 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | final class PantherExtension implements ExtensionInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @inheritdoc |
||
| 20 | */ |
||
| 21 | public function process(ContainerBuilder $container): void |
||
| 22 | { |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @inheritdoc |
||
| 27 | */ |
||
| 28 | public function getConfigKey(): string |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @inheritdoc |
||
| 35 | */ |
||
| 36 | public function initialize(ExtensionManager $extensionManager): void |
||
| 37 | { |
||
| 38 | /** @var MinkExtension|null $minkExtension */ |
||
| 39 | $minkExtension = $extensionManager->getExtension('mink'); |
||
| 40 | |||
| 41 | if ($minkExtension === null) { |
||
| 42 | return; |
||
| 43 | } |
||
| 44 | |||
| 45 | $minkExtension->registerDriverFactory(new PantherFactory()); |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @inheritdoc |
||
| 50 | */ |
||
| 51 | public function configure(ArrayNodeDefinition $builder): void |
||
| 52 | { |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @inheritdoc |
||
| 57 | */ |
||
| 58 | public function load(ContainerBuilder $container, array $config): void |
||
| 60 | } |
||
| 61 | } |
||
| 62 |