PHP Class MyButtonFactory, php_design_patterns

Inheritance: implements ButtonFactory
Mostra file Open project: yunkaiyueming/php_design_patterns Class Usage Examples

Public Methods

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

Method Details

createButton() public method

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