Miscellaneous Classes and Interfaces
PHP Manual

The SplObserver interface

(PHP 5 >= 5.1.0, PHP 7)

Introduction

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

Interface synopsis

SplObserver {
/* Methods */
abstract public void update ( SplSubject $subject )
}

Table of Contents


Miscellaneous Classes and Interfaces
PHP Manual