1 | <?php |
||
17 | class ReferenceCollection implements ReferenceCollectionInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var array |
||
21 | */ |
||
22 | private $references = []; |
||
23 | |||
24 | /** |
||
25 | * @var int |
||
26 | */ |
||
27 | private $referenceCounter = 0; |
||
28 | |||
29 | /** |
||
30 | * @param mixed $value |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | 3 | public function createReference($value) |
|
41 | |||
42 | /** |
||
43 | * @inheritdoc |
||
44 | */ |
||
45 | 3 | public function toArray() |
|
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | 3 | private function generateNextReference() |
|
57 | } |