| Total Complexity | 5 |
| Total Lines | 42 |
| 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 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | 3 | public function buildDriver(array $config) |
|
| 56 | ) |
||
| 57 | ); |
||
| 60 |