src/Model/Attribute/Accessor/OwnerUuid.php
public function setOwnerUuid(?string $ownerUuid)
    {
        if (null !== $ownerUuid) {
            if (!preg_match('/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i', $ownerUuid)) {
                throw new InvalidArgumentException('Owner uuid is not valid.');
            }
        }

        $this->ownerUuid = $ownerUuid;

        return $this;
    }
public function setOwnerUuid(?string $ownerUuid)
    {
        if (null !== $ownerUuid) {
            if (!preg_match('/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i', $ownerUuid)) {
                throw new InvalidArgumentException('Owner uuid is not valid.');
            }
        }

        $this->ownerUuid = $ownerUuid;

        return $this;
    }
Set owner uuid

@param string $ownerUuid
@return object
@throws \InvalidArgumentException