src/CommandFactory.php
protected function getCommandClasses(array $modules)
    {
        $classes = [];
        foreach ($modules as $nameSpace => $path) {
            $classes = array_merge($classes, $this->getClasses($nameSpace, $path));
        }
        return $classes;
    }
protected function getCommandClasses(array $modules)
    {
        $classes = [];
        foreach ($modules as $nameSpace => $path) {
            $classes = array_merge($classes, $this->getClasses($nameSpace, $path));
        }
        return $classes;
    }
protected function getCommandClasses ( array $ modules ) { $ classes = [ ] ; foreach ( $ modules as $ nameSpace => $ path ) { $ classes = array_merge ( $ classes , $ this -> getClasses ( $ nameSpace , $ path ) ) ; } return $ classes ; }
Get user defined classes in "Console\Command" name space of each module

@param array $modules
@return array
Get user defined classes in Console \ Command name space of each module