(PHP 5 >= 5.1.0, PHP 7)
SplSubject::attach — Attach an SplObserver
$observer
Attaches an SplObserver so that it can be notified of updates.
��������δ��д�ĵ������в����б�
observer
The SplObserver to attach.
û�з���ֵ��