| 1 | <?php |
||
| 10 | abstract class AbstractProxy |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var LazyLoadingValueHolderFactory |
||
| 14 | */ |
||
| 15 | private $proxy; |
||
| 16 | |||
| 17 | public function __construct(LazyLoadingValueHolderFactory $proxy) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * For chainability purpose. |
||
| 24 | */ |
||
| 25 | public static function create() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Create virtual proxy from given class name and constructor arguments. |
||
| 34 | * |
||
| 35 | * @param string $class |
||
| 36 | * @param array $constructorArg |
||
| 37 | * @return object |
||
| 38 | */ |
||
| 39 | protected function instantiate($class, $constructorArg = []) |
||
| 68 | } |
||
| 69 |