Total Complexity | 11 |
Total Lines | 62 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class Interpreter |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * @var Item |
||
21 | */ |
||
22 | protected $item; |
||
23 | /** |
||
24 | * @var Depository |
||
25 | */ |
||
26 | protected $depository; |
||
27 | |||
28 | /** |
||
29 | * Interpreter constructor. |
||
30 | * @param Depository $depository |
||
31 | */ |
||
32 | public function __construct(Depository $depository) |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @param string $input |
||
39 | */ |
||
40 | public function interpret(string $input): void |
||
49 | } |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * @param array $values |
||
54 | */ |
||
55 | protected function setItem(array $values): void |
||
60 | } |
||
61 | } |
||
62 | } |
||
63 | |||
64 | /** |
||
65 | * @param array $values |
||
66 | */ |
||
67 | protected function printValue(array $values): void |
||
83 |