Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | abstract class MemoryPool implements \JsonSerializable |
||
6 | { |
||
7 | /** |
||
8 | * @var array |
||
9 | */ |
||
10 | protected $items; |
||
11 | |||
12 | public function __construct() |
||
13 | { |
||
14 | $this->items = []; |
||
15 | } |
||
16 | |||
17 | /** |
||
18 | * @return void |
||
19 | */ |
||
20 | protected function reset() |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @return array |
||
27 | */ |
||
28 | public function jsonSerialize() |
||
31 | } |
||
32 | } |
||
33 |