hasProperty($offset); } /** * Returns the value at specified offset. * * @param mixed $offset The offset to retrieve. * @return mixed Can return all value types. */ #[\ReturnTypeWillChange] public function __get($offset) { return $this->getProperty($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 __set($offset, $value) { $this->setProperty($offset, $value); } /** * Magic method to unset the attribute * * @param mixed $offset The name value to unset * @return void */ #[\ReturnTypeWillChange] public function __unset($offset) { $this->unsetProperty($offset); } }