public function getMenuByGroup($language = null)
    {
        if( is_null($language) )
            $language = app()->getLocale();

        $this->menuClass::$customAppends = ['item_url', 'item_label'];
        $this->pagesClass::$customAppends = ['page_url'];

        $items = $this->menuGroupsClass::select('id', 'name', 'sequence')
            ->with(['menu' => function ($query) use ($language) {
                $query->with([
                    'children',
                    'page' => function ($query) {
                        $query->with('translations');
                    },
                ])->where('language_code', $language)
                    ->orderBy('sequence');
            }])
            ->where('language_code', $language)
            ->orderBy('sequence', 'ASC')
            ->get();

        foreach ( $items as $key => $item ) {
            $items[$key]['menu'] = $this->formatMenuItems($item->menu);
        }

        return $items;
    }