CakeFest 2024: The Official CakePHP Conference

WeakMap::offsetGet

(PHP 8)

WeakMap::offsetGetオブジェクトが指す値を返す

説明

public WeakMap::offsetGet(object $object): mixed

指定されたオブジェクトが指す値を返します。

パラメータ

object

マップにキーとして含まれるオブジェクト

戻り値

引数で渡されたオブジェクトに関連付けられた値を返します。 オブジェクトがマップに存在しない場合、null を返します。

add a note

User Contributed Notes

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