attributes['ownerinfo_uid']); } public function getItemEntities(string $type): array { return $this->attributes[$type] ?? []; } public function setItemEntities(string $type, array $itemEntities): void { $this->attributes[$type] = $itemEntities; // $this->attributes[$type] = array_unique($this->attributes[$type], SORT_REGULAR); } }