PHP Интерфейс Newscoop\Search\RepositoryInterface

Provides an interface for repositories of which the entities are connected to the Search service.
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
getBatch ( integer $count = self::BATCH_COUNT, array $filter = null ) : array Get items to process
setIndexedNow ( array $items ) : void Set indexed to now for given items
setIndexedNull ( array $items = null ) : void Set indexed to null for specified items or all when value is null

Описание методов

getBatch() публичный метод

Get items to process
public getBatch ( integer $count = self::BATCH_COUNT, array $filter = null ) : array
$count integer Limit amount of results
$filter array Filter to apply to results
Результат array

setIndexedNow() публичный метод

Set indexed to now for given items
public setIndexedNow ( array $items ) : void
$items array
Результат void

setIndexedNull() публичный метод

Set indexed to null for specified items or all when value is null
public setIndexedNull ( array $items = null ) : void
$items array
Результат void