private function createEntityBuilder($dataDirectory)
    {
        $strategy = new RecursiveDirectoryStrategy($dataDirectory);
        $locator  = new Locator([$strategy]);
        $builder  = new EntityBuilder($locator, $this);

        return $builder;
    }
private function createEntityBuilder($dataDirectory)
    {
        $strategy = new RecursiveDirectoryStrategy($dataDirectory);
        $locator  = new Locator([$strategy]);
        $builder  = new EntityBuilder($locator, $this);

        return $builder;
    }
private function createEntityBuilder ( $ dataDirectory ) { $ strategy = new RecursiveDirectoryStrategy ( $ dataDirectory ) ; $ locator = new Locator ( [ $ strategy ] ) ; $ builder = new EntityBuilder ( $ locator , $ this ) ; return $ builder ; }
Creates an EntityBuilder

@param   string $dataDirectory The data directory

@return  EntityBuilder
Creates an EntityBuilder