public function value(): ?string
    {
        if (is_empty($this->key)) {
            return $this->original;
        }

        $value = $this->replacements->get($this->key, null);

        return $this->convertToString($value);
    }