Class

eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Handler

abstract class Handler

Content locator gateway implementation using the DoctrineDatabase.

Methods

__construct(DatabaseHandler $dbHandler, TransformationProcessor $transformationProcessor)

Creates a new criterion handler.

Expression handle(SelectQuery $query, Criterion $criterion, string $column)

Generates query expression for operator and value of a Field Criterion.

Details

at line 58
public __construct(DatabaseHandler $dbHandler, TransformationProcessor $transformationProcessor)

Creates a new criterion handler.

Parameters

DatabaseHandler $dbHandler
TransformationProcessor $transformationProcessor

at line 75
public Expression handle(SelectQuery $query, Criterion $criterion, string $column)

Generates query expression for operator and value of a Field Criterion.

Parameters

SelectQuery $query
Criterion $criterion
string $column

Return Value

Expression

Exceptions

RuntimeException If operator is not handled.