PHP Class ConcreteVisitor1, php_design_patterns

Inheritance: implements Visitor
Show file Open project: yunkaiyueming/php_design_patterns

Public Methods

Method Description
visitConcreteElementA ( ConcreteElementA $elementA ) 具体的访问者1
visitConcreteElementB ( ConcreteElementB $elementB )

Method Details

visitConcreteElementA() public method

具体的访问者1
public visitConcreteElementA ( ConcreteElementA $elementA )
$elementA ConcreteElementA

visitConcreteElementB() public method

public visitConcreteElementB ( ConcreteElementB $elementB )
$elementB ConcreteElementB