PHP Class MyButtonFactory, php_design_patterns

Inheritance: implements ButtonFactory
显示文件 Open project: yunkaiyueming/php_design_patterns Class Usage Examples

Public Methods

Method Description
createButton ( $type ) 实现工厂方法

Method Details

createButton() public method

实现工厂方法
public createButton ( $type )