PHP Class Responsibility, php_design_patterns

Show file Open project: yunkaiyueming/php_design_patterns

Protected Properties

Property Type Description
$next 抽象责任角色

Public Methods

Method Description
operate ( )
setNext ( Responsibility $l ) 下一个责任角色

Method Details

operate() abstract public method

abstract public operate ( )

setNext() public method

下一个责任角色
public setNext ( Responsibility $l )
$l Responsibility

Property Details

$next protected property

抽象责任角色
protected $next