src/Providers/HCBaseServiceProvider.php
protected function loadRoutes(Router $router): void
    {
        foreach ($this->getRoutes() as $route) {
            $router->namespace($this->namespace)
                ->group($route);
        }
    }
protected function loadRoutes(Router $router): void
    {
        foreach ($this->getRoutes() as $route) {
            $router->namespace($this->namespace)
                ->group($route);
        }
    }
protected function loadRoutes ( Router $ router ) : void { foreach ( $ this -> getRoutes ( ) as $ route ) { $ router -> namespace ( $ this -> namespace ) -> group ( $ route ) ; } }
Load package routes

@param Router $router
Load package routes