Class

eZ\Publish\Core\Search\Elasticsearch\Content\Location\SortClauseVisitor\SectionIdentifier

class SectionIdentifier extends SortClauseVisitor

Visits the SectionIdentifier sort clause.

Methods

bool canVisit(SortClause $sortClause)

Check if visitor is applicable to current SortClause.

mixed visit(SortClause $sortClause)

Map field value to a proper Elasticsearch representation.

Details

at line 26
public bool canVisit(SortClause $sortClause)

Check if visitor is applicable to current SortClause.

Parameters

SortClause $sortClause

Return Value

bool

at line 38
public mixed visit(SortClause $sortClause)

Map field value to a proper Elasticsearch representation.

Parameters

SortClause $sortClause

Return Value

mixed Hash representation of Elasticsearch sort