(PHP 5 >= 5.1.0, PHP 7, PHP 8)
SplSubject::attach — Attach an SplObserver
$observer
Attaches an SplObserver so that it can be notified of updates.
This function is currently not documented; only its argument list is available.
observer
The SplObserver to attach.
No value is returned.