| Total Complexity | 5 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 60% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class PantherFactory implements DriverFactory |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * {@inheritdoc} |
||
| 18 | */ |
||
| 19 | 1 | public function getDriverName() |
|
| 20 | { |
||
| 21 | 1 | return 'panther'; |
|
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | 1 | public function supportsJavascript() |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function configure(ArrayNodeDefinition $builder) |
||
| 36 | { |
||
| 37 | $configuration = new PantherConfiguration(); |
||
| 38 | $builder->append($configuration->addOptionsNode()); |
||
| 39 | $builder->append($configuration->addKernelOptionsNode()); |
||
| 40 | $builder->append($configuration->addManagerOptionsNode()); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | 3 | * {@inheritdoc} |
|
| 45 | */ |
||
| 46 | 3 | public function buildDriver(array $config) |
|
| 60 | ) |
||
| 61 | ); |
||
| 64 |