src/PersistentMenu/Menu.php
public function locale($locale, $menus)
    {
        $this->stack[] = [
            'locale' => $locale,
        ];

        $this->loadMenus($menus);

        $this->menus[] = array_pop($this->stack);
    }
public function locale($locale, $menus)
    {
        $this->stack[] = [
            'locale' => $locale,
        ];

        $this->loadMenus($menus);

        $this->menus[] = array_pop($this->stack);
    }
public function locale ( $ locale , $ menus ) { $ this -> stack [ ] = [ 'locale' => $ locale , ] ; $ this -> loadMenus ( $ menus ) ; $ this -> menus [ ] = array_pop ( $ this -> stack ) ; }
Set locale menu

@param $locale
@param $menus
Set locale menu