original_string: public static final function byName($enumName)
      {
          $instances = self::getInstances(get_called_class());
  
          return isset($instances[$enumName])
              ? $instances[$enumName]
              : null;
      }
code: public static final function byName($enumName)
      {
          $instances = self::getInstances(get_called_class());
  
          return isset($instances[$enumName])
              ? $instances[$enumName]
              : null;
      }
code_tokens: public static final function byName ( $ enumName ) { $ instances = self :: getInstances ( get_called_class ( ) ) ; return isset ( $ instances [ $ enumName ] ) ? $ instances [ $ enumName ] : null ; }
docstring: Returns the enum value instance representing the provided const name or null when the const name is not present in
  the enum.
  
  @param string $enumName
  
  @return Enum
docstring_tokens: Returns the enum value instance representing the provided const name or null when the const name is not present in the enum .