public function ormGenerateEntities(
        $destPath,
        $opt = [
            'filter'               => null,
            'generate-annotations' => false,
            'generate-methods'     => true,
            'regenerate-entities'  => false,
            'update-entities'      => true,
            'extend'               => false,
            'num-spaces'           => 4,
        ]
    ){
        $validOpts = [
            'filter',
            'generate-annotations',
            'generate-methods',
            'regenerate-entities',
            'update-entities',
            'extend',
            'num-spaces',
        ];
        $command = new Command\GenerateEntitiesCommand;

        $arg = [
            'dest-path' => $destPath,
        ];

        $this->runDoctrineCommand($command, $opt, $validOpts, $arg);
    }