original_string: public static function rangeFromString($range)
      {
          $result = null;
          if ($result === null) {
              $result = Range\Subnet::fromString($range);
          }
          if ($result === null) {
              $result = Range\Pattern::fromString($range);
          }
          if ($result === null) {
              $result = Range\Single::fromString($range);
          }
  
          return $result;
      }
code: public static function rangeFromString($range)
      {
          $result = null;
          if ($result === null) {
              $result = Range\Subnet::fromString($range);
          }
          if ($result === null) {
              $result = Range\Pattern::fromString($range);
          }
          if ($result === null) {
              $result = Range\Single::fromString($range);
          }
  
          return $result;
      }
code_tokens: public static function rangeFromString ( $ range ) { $ result = null ; if ( $ result === null ) { $ result = Range \ Subnet :: fromString ( $ range ) ; } if ( $ result === null ) { $ result = Range \ Pattern :: fromString ( $ range ) ; } if ( $ result === null ) { $ result = Range \ Single :: fromString ( $ range ) ; } return $ result ; }
docstring: Parse an IP range string.
  
  @param string $range
  
  @return \IPLib\Range\RangeInterface|null
docstring_tokens: Parse an IP range string .