src/base/Module.php
public function getAuthRoutes()
    {
        $menu = $this->getMenu();
         
        if (!$menu) {
            return $this->extendPermissionRoutes();
        }
        
        return ArrayHelper::merge($this->extendPermissionRoutes(), $menu->getPermissionRoutes());
    }
public function getAuthRoutes()
    {
        $menu = $this->getMenu();
         
        if (!$menu) {
            return $this->extendPermissionRoutes();
        }
        
        return ArrayHelper::merge($this->extendPermissionRoutes(), $menu->getPermissionRoutes());
    }
public function getAuthRoutes ( ) { $ menu = $ this -> getMenu ( ) ; if ( ! $ menu ) { return $ this -> extendPermissionRoutes ( ) ; } return ArrayHelper :: merge ( $ this -> extendPermissionRoutes ( ) , $ menu -> getPermissionRoutes ( ) ) ; }
Get an array with all routes based on the menu builder.

@return array
Get an array with all routes based on the menu builder .