public function initRoutes()
    {
        $classNames = ClassFinderHelper::findClassesPsr4($this->controllerNamespaces, true);
        foreach ($classNames as $className) {
            $this->registerController($className);
        }
    }
public function initRoutes()
    {
        $classNames = ClassFinderHelper::findClassesPsr4($this->controllerNamespaces, true);
        foreach ($classNames as $className) {
            $this->registerController($className);
        }
    }
public function initRoutes ( ) { $ classNames = ClassFinderHelper :: findClassesPsr4 ( $ this -> controllerNamespaces , true ) ; foreach ( $ classNames as $ className ) { $ this -> registerController ( $ className ) ; } }
Find controllers in given namespaces and register as routes
Find controllers in given namespaces and register as routes