The SplSubject interface

Introduction

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

Interface synopsis

SplSubject
/* Methods */
public void SplSubject::attach(SplObserver $observer)
public void SplSubject::detach(SplObserver $observer)
public void SplSubject::notify()
Table of Contents