owner_id]. */ private array $owners = []; /** * @param int[] $objectIds */ public function __construct( private ObjectInterface $object, private array $objectIds ) { } public function getObject(): ObjectInterface { return $this->object; } /** * @return int[] */ public function getObjectIds(): array { return $this->objectIds; } public function getOwners(): array { return $this->owners; } public function setOwners(array $owners): void { $this->owners = $owners; } }