protected function getGenerator() : ProxyGeneratorInterface { return $this->generator ?: ($this->generator = new LazyBeanGenerator()); }