public function registerSubRoutes(array $classes)
    {
        foreach ($classes as $key => $class) {
            if (is_array($class)) {
                if ($this->usableClass($key)) {
                    $this->registerAdminRoutes($key);
                }

                $this->registerSubRoutes($class);
                continue;
            }
            $this->registerAdminRoutes($class);
        }
    }
public function registerSubRoutes(array $classes)
    {
        foreach ($classes as $key => $class) {
            if (is_array($class)) {
                if ($this->usableClass($key)) {
                    $this->registerAdminRoutes($key);
                }

                $this->registerSubRoutes($class);
                continue;
            }
            $this->registerAdminRoutes($class);
        }
    }
public function registerSubRoutes ( array $ classes ) { foreach ( $ classes as $ key => $ class ) { if ( is_array ( $ class ) ) { if ( $ this -> usableClass ( $ key ) ) { $ this -> registerAdminRoutes ( $ key ) ; } $ this -> registerSubRoutes ( $ class ) ; continue ; } $ this -> registerAdminRoutes ( $ class ) ; } }
Loops through an array of classes
and registers their Route recursively.

@param array $classes
Loops through an array of classes and registers their Route recursively .