* @license MIT * * @method \ProxyManager\Proxy\GhostObjectInterface createProxy($className, \Closure $initializer) */ class LazyLoadingGhostFactory extends AbstractLazyFactory { /** * @var \ProxyManager\ProxyGenerator\LazyLoadingGhostGenerator|null */ private $generator; /** * {@inheritDoc} */ protected function getGenerator() { return $this->generator ?: $this->generator = new LazyLoadingGhostGenerator(); } }