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