SplObserver::update

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

SplObserver::updateReceive update from subject

Açıklama

publicSplObserver::update(SplSubject$subject): void

This method is called when any SplSubject to which the observer is attached calls SplSubject::notify().

Uyarı

Bu işlev hala belgelendirilmemiştir; sadece bağımsız değişken listesi mevcuttur.

Bağımsız Değişkenler

subject

The SplSubject notifying the observer of an update.

Dönen Değerler

Hiçbir değer dönmez.

To Top