original_string: public function loadHtml($html, $fallbackUrl = null)
      {
          // Extract all data that can be found
          $page = $this->extractOpenGraphData($html);
  
          // Use the user's URL as fallback
          if ($this->useFallbackMode && $page->url === null) {
              $page->url = $fallbackUrl;
          }
  
          // Return result
          return $page;
      }
code: public function loadHtml($html, $fallbackUrl = null)
      {
          // Extract all data that can be found
          $page = $this->extractOpenGraphData($html);
  
          // Use the user's URL as fallback
          if ($this->useFallbackMode && $page->url === null) {
              $page->url = $fallbackUrl;
          }
  
          // Return result
          return $page;
      }
code_tokens: public function loadHtml ( $ html , $ fallbackUrl = null ) { // Extract all data that can be found $ page = $ this -> extractOpenGraphData ( $ html ) ; // Use the user's URL as fallback if ( $ this -> useFallbackMode && $ page -> url === null ) { $ page -> url = $ fallbackUrl ; } // Return result return $ page ; }
docstring: Crawls the given HTML string for OpenGraph data.
  
  @param   string  $html           HTML string, usually whole content of crawled web resource.
  @param   string  $fallbackUrl    URL to use when fallback mode is enabled.
  
  @return  ObjectBase
docstring_tokens: Crawls the given HTML string for OpenGraph data .