| 1 | <?php |
||
| 17 | class LazyLoadingMock implements VirtualProxyInterface, GhostObjectInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var callable |
||
| 21 | */ |
||
| 22 | public $initializer; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param callable $initializer |
||
| 26 | * |
||
| 27 | * @return static |
||
| 28 | */ |
||
| 29 | public static function staticProxyConstructor($initializer) : self |
||
| 37 | |||
| 38 | public function setProxyInitializer(\Closure $initializer = null) : void |
||
| 42 | |||
| 43 | public function getProxyInitializer() : ?\Closure |
||
| 47 | |||
| 48 | public function initializeProxy() : bool |
||
| 53 | |||
| 54 | public function isProxyInitialized() : bool |
||
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritDoc} |
||
| 61 | * |
||
| 62 | * @throws BadMethodCallException |
||
| 63 | */ |
||
| 64 | public function getWrappedValueHolderValue() : ?object |
||
| 69 | } |
||
| 70 |