/** * Returns the ProxyConstructor for this ProxyClass. Creates it if needed. * * @return ProxyConstructor */ public function getConstructor() { if (!isset($this->constructor)) { $this->constructor = new ProxyConstructor($this->fullOriginalClassName); $this->constructor->injectReflectionService($this->reflectionService); } return $this->constructor; }