original_string: public static function valueOf($name)
      {
          $names = static::getNames();
          return isset($names[$name]) ? $names[$name] : null;
      }
code: public static function valueOf($name)
      {
          $names = static::getNames();
          return isset($names[$name]) ? $names[$name] : null;
      }
code_tokens: public static function valueOf ( $ name ) { $ names = static :: getNames ( ) ; return isset ( $ names [ $ name ] ) ? $ names [ $ name ] : null ; }
docstring: Gets the enum value for the name
  
  @return mixed value of
docstring_tokens: Gets the enum value for the name