diff --git a/src/rg/injektor/generators/FileGenerator.php b/src/rg/injektor/generators/FileGenerator.php index a828db5..42fd2c3 100644 --- a/src/rg/injektor/generators/FileGenerator.php +++ b/src/rg/injektor/generators/FileGenerator.php @@ -451,7 +451,7 @@ protected function getFactoryMethod(\ReflectionMethod $method, $classConfig) { */ private function createProxyClass($proxyName) { $proxyClass = new Generator\ClassGenerator($proxyName); - $proxyClass->setExtendedClass('\\' . $this->fullClassName); + $proxyClass->setExtendedClass($this->fullClassName); foreach ($this->injectableArguments as $injectableArgument) { $injectorMethod = new \Zend\Code\Generator\MethodGenerator('propertyInjection' . $injectableArgument->getName()); $injectorMethod->setBody($injectableArgument->getProcessingBody());