Total Complexity | 10 |
Total Lines | 57 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class Interpreter implements InterpreterInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var DepositoryInterface |
||
20 | */ |
||
21 | protected $depository; |
||
22 | |||
23 | /** |
||
24 | * Interpreter constructor. |
||
25 | * @param DepositoryInterface $depository |
||
26 | */ |
||
27 | public function __construct(DepositoryInterface $depository) |
||
28 | { |
||
29 | $this->depository = $depository; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @param string $input |
||
34 | */ |
||
35 | public function interpret(string $input = null): void |
||
65 | } |
||
66 | |||
67 | /** |
||
68 | * @return DepositoryInterface |
||
69 | */ |
||
70 | public function getDepository(): DepositoryInterface |
||
73 | } |
||
74 | } |
||
75 |