public function __construct(GenericDAO $dao) { parent::__construct($dao); if (($cache = Cache::me()) instanceof WatermarkedPeer) { $watermark = $cache->mark($this->className)->getActualWatermark(); } else { $watermark = null; } $this->classKey = $this->keyToInt($watermark . $this->className); $this->handler = $this->spawnHandler($this->classKey); }
public function __construct(GenericDAO $dao) { parent::__construct($dao); $this->indexKey = $this->watermark . $this->className . self::SUFFIX_INDEX; }