/** * Get key hash (to use this for caching rates) * * @param string $key Key value * * @return string */ protected function getKeyHash($key) { $key = preg_replace('/<v17:ShipTimestamp>.+<\\/v17:ShipTimestamp>/i', '', $key); return parent::getKeyHash($key); }