# The SplObserver interface

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

## Einführung

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

## Interface-Übersicht

interface SplObserver {
/* Methoden */
public update(SplSubject `$subject`): void
}

## Inhaltsverzeichnis

- SplObserver::update — Receive update from subject

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open