public function storeMenu (Menu $menu)
    {
        $this->client->send(
            new Request(
                'POST',
                "https://api.weixin.qq.com/cgi-bin/menu/create",
                [],
                json_encode($this->reduceMenu($menu))
            )
        );
    }
public function storeMenu (Menu $menu)
    {
        $this->client->send(
            new Request(
                'POST',
                "https://api.weixin.qq.com/cgi-bin/menu/create",
                [],
                json_encode($this->reduceMenu($menu))
            )
        );
    }
public function storeMenu ( Menu $ menu ) { $ this -> client -> send ( new Request ( 'POST' , "https://api.weixin.qq.com/cgi-bin/menu/create" , [ ] , json_encode ( $ this -> reduceMenu ( $ menu ) ) ) ) ; }
Creates a menu for the OA.

@param Menu $menu
Creates a menu for the OA .