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

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

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

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

        return $this->convertToString($value);
    }
public function value ( ) : ? string { if ( is_empty ( $ this -> key ) ) { return $ this -> original ; } $ value = $ this -> replacements -> get ( $ this -> key , null ) ; return $ this -> convertToString ( $ value ) ; }
Devuelve el valor

@return null|string
Devuelve el valor