Php/docs/class.splsubject
来自菜鸟教程
(PHP 5 >= 5.1.0, PHP 7)
接口摘要
SplSubject {
abstract public attach
( SplObserver $observer
) : void
abstract public detach
( SplObserver $observer
) : void
abstract public notify ( ) : void
}
Table of Contents
- SplSubject::attach — Attach an SplObserver
- SplSubject::detach — Detach an observer
- SplSubject::notify — Notify an observer
/* 方法 */