The SplObserver interface
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Introduction
The SplObserver interface is used alongside SplSubject to implement the Observer Design Pattern.
Interface synopsis
Table of Contents
- SplObserver::update — Receive update from subject
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
