public function withEntry(string $languageTag, string $value): self
    {
        $languageMap = clone $this;
        $languageMap->map[$languageTag] = $value;

        return $languageMap;
    }
public function withEntry(string $languageTag, string $value): self
    {
        $languageMap = clone $this;
        $languageMap->map[$languageTag] = $value;

        return $languageMap;
    }
public function withEntry ( string $ languageTag , string $ value ) : self { $ languageMap = clone $ this ; $ languageMap -> map [ $ languageTag ] = $ value ; return $ languageMap ; }
Creates a new language map based on the current map including the given entry.

An existing entry will be overridden if the given language tag is already
present in this language map.
Creates a new language map based on the current map including the given entry .