original_string: protected function getXML()
      {
          $key = 'xml_' . md5($this->url); // Everybody loves md5!
  
          if ($this->cache->has($key)) {
              $this->xml = $this->cache->get($key);
          } else {
              $this->xml = $this->fetchXML();
  
              $this->xml = $this->changeLinkElements($this->xml);
  
              $this->cache->put($key, $this->xml, $this->cacheTime);
          }
      }
code: protected function getXML()
      {
          $key = 'xml_' . md5($this->url); // Everybody loves md5!
  
          if ($this->cache->has($key)) {
              $this->xml = $this->cache->get($key);
          } else {
              $this->xml = $this->fetchXML();
  
              $this->xml = $this->changeLinkElements($this->xml);
  
              $this->cache->put($key, $this->xml, $this->cacheTime);
          }
      }
code_tokens: protected function getXML ( ) { $ key = 'xml_' . md5 ( $ this -> url ) ; // Everybody loves md5! if ( $ this -> cache -> has ( $ key ) ) { $ this -> xml = $ this -> cache -> get ( $ key ) ; } else { $ this -> xml = $ this -> fetchXML ( ) ; $ this -> xml = $ this -> changeLinkElements ( $ this -> xml ) ; $ this -> cache -> put ( $ key , $ this -> xml , $ this -> cacheTime ) ; } }
docstring: Get the xml from the server, and cache the result
  
  @return void
docstring_tokens: Get the xml from the server and cache the result