eZ\Publish\Core\Pagination\Pagerfanta\LocationSearchAdapter::getSlice PHP Метод

getSlice() публичный Метод

Returns a slice of the results as Location objects.
public getSlice ( integer $offset, integer $length ) : eZ\Publish\API\Repository\Values\Content\Location[]
$offset integer The offset.
$length integer The length.
Результат eZ\Publish\API\Repository\Values\Content\Location[]
    public function getSlice($offset, $length)
    {
        $list = array();
        foreach (parent::getSlice($offset, $length) as $hit) {
            $list[] = $hit->valueObject;
        }
        return $list;
    }
LocationSearchAdapter