(PHP 5 >= 5.1.0, PHP 7, PHP 8)
The SplSubject interface is used alongside SplObserver to implement the Observer Design Pattern.
$observer