The SplObserver interface
(PHP 5 >= 5.1.0, PHP 7)
简介
The SplObserver interface is used alongside SplSubject to implement the Observer Design Pattern.
接口摘要
Table of Contents
- SplObserver::update — Receive update from subject
(PHP 5 >= 5.1.0, PHP 7)
The SplObserver interface is used alongside SplSubject to implement the Observer Design Pattern.