Total Complexity | 7 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 7 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
12 | class Interpreter implements InterpreterInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var array |
||
16 | */ |
||
17 | private $depository; |
||
18 | |||
19 | /** |
||
20 | * @param ItemInterface $item |
||
21 | */ |
||
22 | public function addItem(ItemInterface $item): void |
||
23 | { |
||
24 | $this->depository[] = $item; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param string $input |
||
29 | */ |
||
30 | public function interpret(string $input): void |
||
52 | } |
||
53 | } |
||
54 |