public function getSlice($offset, $length) { $list = array(); foreach (parent::getSlice($offset, $length) as $hit) { $list[] = $hit->valueObject; } return $list; }