original_string: final public static function fromString(string $string): Enum
      {
          $parts = explode('::', $string);
  
          return self::fromName(end($parts));
      }
code: final public static function fromString(string $string): Enum
      {
          $parts = explode('::', $string);
  
          return self::fromName(end($parts));
      }
code_tokens: final public static function fromString ( string $ string ) : Enum { $ parts = explode ( '::' , $ string ) ; return self :: fromName ( end ( $ parts ) ) ; }
docstring: Creates instance from a string representation
  
  @param string $string The string representation
  
  @return Enum
  
  @throws DomainException When the string is invalid
docstring_tokens: Creates instance from a string representation