Class

eZ\Publish\Core\QueryType\OptionsResolverBasedQueryType

abstract class OptionsResolverBasedQueryType

An abstract QueryType class that facilitates parameters handling.

It uses Symfony's OptionsResolver.

The interface's getQuery() method is implemented as final in the abstract class. Instead, you need to implement the doGetQuery() abstract method. It receives the $parameters array after it has been processed using the OptionsResolver.

In addition, you must implement the configureOptions abstract method. It receives an OptionsResolver, and configures it for the QueryType's supported parameters.

Methods

getSupportedParameters()

getQuery(array $parameters = array())

Details

at line 53
final public getSupportedParameters()

at line 58
final public getQuery(array $parameters = array())

Parameters

array $parameters