class ObjectStorage extends SplObjectStorage

Class ObjectStorage - 允许使用非对象作为key,会自动使用 \stdClass 转成对象

Methods

attach(mixed $key, null $data = null)

No description

detach(mixed $key)

No description

bool
contains(mixed $key)

No description

bool
has(mixed $key)

No description

Details

at line 22
attach(mixed $key, null $data = null)

Parameters

mixed $key
null $data

at line 36
detach(mixed $key)

Parameters

mixed $key

at line 51
bool contains(mixed $key)

Parameters

mixed $key

Return Value

bool

at line 66
bool has(mixed $key)

Parameters

mixed $key

Return Value

bool