SplObserver::update

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

SplObserver::updateReceive update from subject

Descrição

abstract public SplObserver::update ( SplSubject $subject ) : void

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

Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Parâmetros

subject

The SplSubject notifying the observer of an update.

Valor Retornado

Não há valor retornado.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top