SplObserver::update

(PHP 5 >= 5.1.0, PHP 7)

SplObserver::updateReceive update from subject

˵��

abstract public SplObserver::update ( SplSubject $subject ) : void

This method is called when any SplSubject to which the observer is attached calls SplSubject::notify().

Warning

��������δ��д�ĵ������в����б�

����

subject

The SplSubject notifying the observer of an update.

����ֵ

û�з���ֵ��