Total Complexity | 8 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 12 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
12 | class Interpreter implements InterpreterInterface |
||
13 | { |
||
14 | private array $registryData; |
||
15 | |||
16 | public function __construct(RegistryInterface $registry) |
||
17 | { |
||
18 | $this->registryData = $registry->getData(); |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @param string $input |
||
23 | * @return array |
||
24 | */ |
||
25 | public function interpret(string $input): array |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @param array $input |
||
40 | * @param AlbumInterface $item |
||
41 | * @return array |
||
42 | */ |
||
43 | private function getDataFromRegistry(array $input, AlbumInterface $item): array |
||
58 | } |
||
59 | } |
||
60 |