$offset); } public function offsetGet(mixed $offset): mixed { if ($offset === 'tags') { return $this->attributes; } return $this->$offset; } public function offsetSet(mixed $offset, mixed $value): void { $this->$offset = $value; } public function offsetUnset(mixed $offset): void { unset($this->$offset); } }