PHP Interface Thenbsp\Wechat\Menu\ButtonCollectionInterface

Mostrar archivo Open project: thenbsp/wechat

Public Methods

Method Description
addChild ( Thenbsp\Wechat\Menu\ButtonInterface $button ) 添加子菜单
getChild ( ) 获取子按钮
hasChild ( ) 检测是否有子菜单

Method Details

addChild() public method

添加子菜单
public addChild ( Thenbsp\Wechat\Menu\ButtonInterface $button )
$button Thenbsp\Wechat\Menu\ButtonInterface

getChild() public method

获取子按钮
public getChild ( )

hasChild() public method

检测是否有子菜单
public hasChild ( )