phpday 2027 - Call for Papers

SplObserver::update

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

SplObserver::update — subject の更新を受信する

説明

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

このメソッドは、オブザーバがアタッチされている任意の SplSubject が SplSubject::notify() をコールしたときにコールされます。

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

subject

observer に更新を通知する SplSubject。

戻り値

値を返しません。

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top