\AlibabaCloud\Client\TraitsArrayAccessTrait

Trait ArrayAccessTrait

Summary

Methods
Properties
Constants
offsetGet()
offsetSet()
offsetExists()
offsetUnset()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

offsetGet()

offsetGet(string  $offset) : mixed|null

This method returns a reference to the variable to allow for indirect array modification (e.g., $foo['bar']['baz'] = 'qux').

Parameters

string $offset

Returns

mixed|null

offsetSet()

offsetSet(string  $offset, string|mixed  $value) 

Parameters

string $offset
string|mixed $value

offsetExists()

offsetExists(string  $offset) : boolean

Parameters

string $offset

Returns

boolean

offsetUnset()

offsetUnset(string  $offset) 

Parameters

string $offset