public static function getMenuLinkRoutes($controller)
    {
        $controllerClass = Theme::getNamespace().'\\Controllers\\'.$controller;

        $routes = [];

        if(class_exists($controllerClass) && method_exists($controllerClass, 'menuLinkRoutes')) {
            $routes = array_merge($routes, $controllerClass::menuLinkRoutes());
        }

        return $routes;
    }
public static function getMenuLinkRoutes($controller)
    {
        $controllerClass = Theme::getNamespace().'\\Controllers\\'.$controller;

        $routes = [];

        if(class_exists($controllerClass) && method_exists($controllerClass, 'menuLinkRoutes')) {
            $routes = array_merge($routes, $controllerClass::menuLinkRoutes());
        }

        return $routes;
    }
public static function getMenuLinkRoutes ( $ controller ) { $ controllerClass = Theme :: getNamespace ( ) . '\\Controllers\\' . $ controller ; $ routes = [ ] ; if ( class_exists ( $ controllerClass ) && method_exists ( $ controllerClass , 'menuLinkRoutes' ) ) { $ routes = array_merge ( $ routes , $ controllerClass :: menuLinkRoutes ( ) ) ; } return $ routes ; }
Get getMenuLinkRoutes from a controller

@param  string $controller
@return array
Get getMenuLinkRoutes from a controller