original_string: protected function pullCache($guid, $className) {
      // Increment the entity access count.
      if (!isset($this->entityCount[$guid])) {
        $this->entityCount[$guid] = 0;
      }
      $this->entityCount[$guid]++;
      if (isset($this->entityCache[$guid][$className])) {
        return (clone $this->entityCache[$guid][$className]);
      }
      return null;
    }
code: protected function pullCache($guid, $className) {
      // Increment the entity access count.
      if (!isset($this->entityCount[$guid])) {
        $this->entityCount[$guid] = 0;
      }
      $this->entityCount[$guid]++;
      if (isset($this->entityCache[$guid][$className])) {
        return (clone $this->entityCache[$guid][$className]);
      }
      return null;
    }
code_tokens: protected function pullCache ( $ guid , $ className ) { // Increment the entity access count. if ( ! isset ( $ this -> entityCount [ $ guid ] ) ) { $ this -> entityCount [ $ guid ] = 0 ; } $ this -> entityCount [ $ guid ] ++ ; if ( isset ( $ this -> entityCache [ $ guid ] [ $ className ] ) ) { return ( clone $ this -> entityCache [ $ guid ] [ $ className ] ) ; } return null ; }
docstring: Pull an entity from the cache.
  
  @param int $guid The entity's GUID.
  @param string $className The entity's class.
  @return Entity|null The entity or null if it's not cached.
  @access protected
docstring_tokens: Pull an entity from the cache .