private static function instantiate(string $valueName): self
    {
        $value = new static(...(array) self::constant($valueName));
        $value->name = $valueName;

        return $value;
    }
private static function instantiate(string $valueName): self
    {
        $value = new static(...(array) self::constant($valueName));
        $value->name = $valueName;

        return $value;
    }
private static function instantiate ( string $ valueName ) : self { $ value = new static ( ... ( array ) self :: constant ( $ valueName ) ) ; $ value -> name = $ valueName ; return $ value ; }
Instantiate value with the given name.

@param string $valueName The name of the value.

@return static The newly instantiated value.
Instantiate value with the given name .