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

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

        return $list;
    }
public function getSlice ( $ offset , $ length ) { $ list = array ( ) ; foreach ( parent :: getSlice ( $ offset , $ length ) as $ hit ) { $ list [ ] = $ hit -> valueObject ; } return $ list ; }
Returns a slice of the results as Location objects.

@param int $offset The offset.
@param int $length The length.

@return \eZ\Publish\API\Repository\Values\Content\Location[]
Returns a slice of the results as Location objects .