original_string: static function fromValue($value)
      {
          $key = self::getKey($value);
  
          return self::$instanceCache[static::class][$key]
              ?? (self::$instanceCache[static::class][$key] = new static($key, static::getValue($key)));
      }
code: static function fromValue($value)
      {
          $key = self::getKey($value);
  
          return self::$instanceCache[static::class][$key]
              ?? (self::$instanceCache[static::class][$key] = new static($key, static::getValue($key)));
      }
code_tokens: static function fromValue ( $ value ) { $ key = self :: getKey ( $ value ) ; return self :: $ instanceCache [ static :: class ] [ $ key ] ?? ( self :: $ instanceCache [ static :: class ] [ $ key ] = new static ( $ key , static :: getValue ( $ key ) ) ) ; }
docstring: Get instance for the given value
  
  @throws InvalidValueException if there is no such value
  @return static
docstring_tokens: Get instance for the given value