public function createGenerator($className)
    {
        $factory = $this->generatorFactory;
        $sourceClass = rtrim(substr($className, 0, strpos($className, ucfirst($this->classSuffix))), '\\');
        $entityGenerator = $factory($sourceClass, $className);
        return $entityGenerator;
    }