Please wait while we load your page...
 

Announcements

PHP Manual :: The SplSubject interface



SplObserver::update || SplSubject::attach || Miscellaneous Classes and Interfaces || PHP Manual

(PHP 5 >= 5.1.0, PHP 7)

The SplSubject interface is used alongside SplObserver to implement the Observer Design Pattern.

SplSubject {
/* Methods */
abstract public void attach ( SplObserver $observer )
abstract public void detach ( SplObserver $observer )
abstract public void notify ( void )
}


SplObserver::update || SplSubject::attach || Miscellaneous Classes and Interfaces || PHP Manual
Live Chat Not Available