Class

eZ\Publish\Core\REST\Server\Input\Parser\FacetBuilder\CriterionParser

class CriterionParser extends BaseParser

Parser for Criterion facet builder.

Methods

setRequestParser(RequestParser $requestParser)

from BaseParser
CriterionFacetBuilder parse(array $data, ParsingDispatcher $parsingDispatcher)

Parses input structure to a FacetBuilder object.

Details

in BaseParser at line 22
public setRequestParser(RequestParser $requestParser)

Parameters

RequestParser $requestParser

at line 31
public CriterionFacetBuilder parse(array $data, ParsingDispatcher $parsingDispatcher)

Parses input structure to a FacetBuilder object.

Parameters

array $data
ParsingDispatcher $parsingDispatcher

Return Value

CriterionFacetBuilder

Exceptions

Parser