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