The SplSubject interface
Introduction
The SplSubject interface is used alongside SplObserver to implement the Observer Design Pattern.
Interface synopsis
SplSubject
{
/* Methods */
}Table of Contents
- SplSubject::attach — Attach an SplObserver
- SplSubject::detach — Detach an observer
- SplSubject::notify — Notify an observer