original_string: public function createCustomAPI($url, $name)
      {
          $api = new Custom($url, $name);
          if (!$this->getHttpClient()) {
              $this->setHttpClient();
          }
          if (!$this->getEntityFactory()) {
              $this->setEntityFactory();
          }
          return $api->registerDiffbot($this);
      }
code: public function createCustomAPI($url, $name)
      {
          $api = new Custom($url, $name);
          if (!$this->getHttpClient()) {
              $this->setHttpClient();
          }
          if (!$this->getEntityFactory()) {
              $this->setEntityFactory();
          }
          return $api->registerDiffbot($this);
      }
code_tokens: public function createCustomAPI ( $ url , $ name ) { $ api = new Custom ( $ url , $ name ) ; if ( ! $ this -> getHttpClient ( ) ) { $ this -> setHttpClient ( ) ; } if ( ! $ this -> getEntityFactory ( ) ) { $ this -> setEntityFactory ( ) ; } return $ api -> registerDiffbot ( $ this ) ; }
docstring: Creates a generic Custom API
  
  Does not have predefined Entity, so by default returns Wildcards
  
  @param string $url Url to analyze
  @param string $name Name of the custom API, required to finalize URL
  @return Custom
docstring_tokens: Creates a generic Custom API