public function hashUserPasswordProperty(?int $cost = null) : string
    {
        if (!isset($this->password)) {
            throw new NullValueException('Password property not set on this object');
        }

        return bcrypt($this->password, ['rounds' => $this->getPasswordCost($cost)]);
    }