Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class CommandsPool |
||
6 | { |
||
7 | /** |
||
8 | * @var string[] |
||
9 | */ |
||
10 | protected $commands = []; |
||
11 | |||
12 | /** |
||
13 | * @param string $command |
||
14 | */ |
||
15 | public function add($command) |
||
16 | { |
||
17 | $this->commands[] = $command; |
||
18 | } |
||
19 | |||
20 | public function clear() |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @return string |
||
27 | */ |
||
28 | public function shift() |
||
31 | } |
||
32 | } |
||
33 |