Class

eZ\Publish\Core\Search\Elasticsearch\Content\Location\CriterionVisitor\DateMetadata\PublishedRange

class PublishedRange extends DateMetadata

Visits the PublishedRange DateMetadata criterion.

Methods

bool canVisit(Criterion $criterion)

Check if visitor is applicable to current criterion.

mixed visitFilter(Criterion $criterion, CriterionVisitorDispatcher $dispatcher, array $languageFilter)

Map field value to a proper Elasticsearch filter representation.

Details

at line 28
public bool canVisit(Criterion $criterion)

Check if visitor is applicable to current criterion.

Parameters

Criterion $criterion

Return Value

bool

at line 51
public mixed visitFilter(Criterion $criterion, CriterionVisitorDispatcher $dispatcher, array $languageFilter)

Map field value to a proper Elasticsearch filter representation.

Parameters

Criterion $criterion
CriterionVisitorDispatcher $dispatcher
array $languageFilter

Return Value

mixed