| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 77.78% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Factory extends AbstractDeclarationBasedFactory |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @return DistributionAlgorithmInterface |
||
| 14 | */ |
||
| 15 | 1 | public function buildDistributionAlgorithmFromKey(string $key) |
|
| 16 | { |
||
| 17 | 1 | $this->initialize(); |
|
| 18 | 1 | return $this->buildObjectFromKey($key); |
|
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return array |
||
| 23 | */ |
||
| 24 | protected function getDeclarations() |
||
| 27 | } |
||
| 28 | |||
| 29 | 1 | private function initialize(): void |
|
| 36 |