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;
  }
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;
  }
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 ; }
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
Pull an entity from the cache .