The SplObserver interface

(PHP 5 >= 5.1.0, PHP 7)

Giriş

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

Arayüz Sözdizimi

SplObserver {
/* Yöntemler */
abstract public update ( SplSubject $subject ) : void
}

İçindekiler