src/TaskLoader.php
public static function getAllMethods($folder, $namespace = array())
    {
        self::setClassFolder($folder);
        $namespaces_list = is_array($namespace) ? $namespace : array($namespace);
        $methods = array();

        $controllers = self::getControllersList(self::$class_folders, $namespaces_list);
        foreach ($controllers as $c) {
            if (!class_exists($c)) {
                self::loadController($c);
            }
            $methods[$c] = self::getControllerMethods($c);
        }

        return $methods;
    }
public static function getAllMethods($folder, $namespace = array())
    {
        self::setClassFolder($folder);
        $namespaces_list = is_array($namespace) ? $namespace : array($namespace);
        $methods = array();

        $controllers = self::getControllersList(self::$class_folders, $namespaces_list);
        foreach ($controllers as $c) {
            if (!class_exists($c)) {
                self::loadController($c);
            }
            $methods[$c] = self::getControllerMethods($c);
        }

        return $methods;
    }
public static function getAllMethods ( $ folder , $ namespace = array ( ) ) { self :: setClassFolder ( $ folder ) ; $ namespaces_list = is_array ( $ namespace ) ? $ namespace : array ( $ namespace ) ; $ methods = array ( ) ; $ controllers = self :: getControllersList ( self :: $ class_folders , $ namespaces_list ) ; foreach ( $ controllers as $ c ) { if ( ! class_exists ( $ c ) ) { self :: loadController ( $ c ) ; } $ methods [ $ c ] = self :: getControllerMethods ( $ c ) ; } return $ methods ; }
Scan folders for classes and return all their public methods
@param string|array $folder
@param string|array $namespace
@return array
@throws TaskManagerException
Scan folders for classes and return all their public methods