Conditions | 4 |
Paths | 5 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
46 | private function getDataFromRegistry(array $input, AlbumInterface $item): void |
||
47 | { |
||
48 | foreach ($input as $value) { |
||
49 | if ($value === "album") { |
||
50 | printf("%s ", $item->getName()); |
||
51 | } |
||
52 | |||
53 | if ($value === "author") { |
||
54 | printf("%s", $item->getAuthor()); |
||
55 | } |
||
56 | } |
||
57 | |||
58 | printf("%s", PHP_EOL); |
||
59 | } |
||
61 |