private function filterParents($menuLinks)
    {
        $tmp = [];
        foreach($menuLinks as $key => $menuLink){
            if(isset($menuLink['parent']) && !$menuLink['parent']) {
                $tmp[$key] = $menuLink;
            }
        }
        return $tmp;
    }