src/GeneratorWrapper.php
public function createGenerator($className)
    {
        $factory = $this->generatorFactory;
        $sourceClass = rtrim(substr($className, 0, strpos($className, ucfirst($this->classSuffix))), '\\');
        $entityGenerator = $factory($sourceClass, $className);
        return $entityGenerator;
    }
public function createGenerator($className)
    {
        $factory = $this->generatorFactory;
        $sourceClass = rtrim(substr($className, 0, strpos($className, ucfirst($this->classSuffix))), '\\');
        $entityGenerator = $factory($sourceClass, $className);
        return $entityGenerator;
    }
public function createGenerator ( $ className ) { $ factory = $ this -> generatorFactory ; $ sourceClass = rtrim ( substr ( $ className , 0 , strpos ( $ className , ucfirst ( $ this -> classSuffix ) ) ) , '\\' ) ; $ entityGenerator = $ factory ( $ sourceClass , $ className ) ; return $ entityGenerator ; }
Creates a generator

@param string $className

@return EntityAbstract
Creates a generator