original_string: public static function create($domain, $whois)
      {
          $tld = substr(strrchr($domain, '.'), 1);
          $parserClass = 'Wisdom\\Whois\\Parser\\Tld\\'.ucfirst($tld);
          if (!class_exists($parserClass)) {
              throw new WhoisParserNotFoundException(sprintf(
                  'Whois parser for .%s domains not found.',
                  $tld
              ));
          }
  
          return new $parserClass($domain, $whois);
      }
code: public static function create($domain, $whois)
      {
          $tld = substr(strrchr($domain, '.'), 1);
          $parserClass = 'Wisdom\\Whois\\Parser\\Tld\\'.ucfirst($tld);
          if (!class_exists($parserClass)) {
              throw new WhoisParserNotFoundException(sprintf(
                  'Whois parser for .%s domains not found.',
                  $tld
              ));
          }
  
          return new $parserClass($domain, $whois);
      }
code_tokens: public static function create ( $ domain , $ whois ) { $ tld = substr ( strrchr ( $ domain , '.' ) , 1 ) ; $ parserClass = 'Wisdom\\Whois\\Parser\\Tld\\' . ucfirst ( $ tld ) ; if ( ! class_exists ( $ parserClass ) ) { throw new WhoisParserNotFoundException ( sprintf ( 'Whois parser for .%s domains not found.' , $ tld ) ) ; } return new $ parserClass ( $ domain , $ whois ) ; }
docstring: Creates whois parser for given domain name.
  
  @param  string    $domain
  @param  string    $whois
  @return Interface
docstring_tokens: Creates whois parser for given domain name .