Analyzer.php
1 year ago
ClosureContext.php
2 years ago
ClosureScope.php
2 years ago
ClosureStream.php
1 year ago
ISecurityProvider.php
2 years ago
ReflectionClosure.php
1 year ago
SecurityException.php
2 years ago
SecurityProvider.php
1 year ago
SelfReference.php
2 years ago
SerializableClosure.php
1 year ago
SelfReference.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | /* =========================================================================== |
| 4 | * Copyright (c) 2018-2021 Zindex Software |
| 5 | * |
| 6 | * Licensed under the MIT License |
| 7 | * =========================================================================== */ |
| 8 | namespace Matomo\Dependencies\Opis\Closure; |
| 9 | |
| 10 | /** |
| 11 | * Helper class used to indicate a reference to an object |
| 12 | * @internal |
| 13 | */ |
| 14 | class SelfReference |
| 15 | { |
| 16 | /** |
| 17 | * @var string An unique hash representing the object |
| 18 | */ |
| 19 | public $hash; |
| 20 | /** |
| 21 | * Constructor |
| 22 | * |
| 23 | * @param string $hash |
| 24 | */ |
| 25 | public function __construct($hash) |
| 26 | { |
| 27 | $this->hash = $hash; |
| 28 | } |
| 29 | } |
| 30 |