hasNestedProperty($offset); } /** * Returns the value at specified offset. * * @param mixed $offset The offset to retrieve. * @return mixed Can return all value types. */ #[\ReturnTypeWillChange] public function offsetGet($offset) { return $this->getNestedProperty($offset); } /** * Assigns a value to the specified offset. * * @param mixed $offset The offset to assign the value to. * @param mixed $value The value to set. * @return void */ #[\ReturnTypeWillChange] public function offsetSet($offset, $value) { $this->setNestedProperty($offset, $value); } /** * Unsets an offset. * * @param mixed $offset The offset to unset. * @return void */ #[\ReturnTypeWillChange] public function offsetUnset($offset) { $this->unsetNestedProperty($offset); } }