for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File containing the facet builder FieldRange parser class.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Publish\Core\REST\Server\Input\Parser\FacetBuilder;
use eZ\Publish\Core\REST\Common\Input\BaseParser;
use eZ\Publish\Core\REST\Common\Input\ParsingDispatcher;
use eZ\Publish\Core\REST\Common\Exceptions;
* Parser for FieldRange facet builder.
class FieldRangeParser extends BaseParser
{
* Parses input structure to a FacetBuilder object.
* @param array $data
* @param \eZ\Publish\Core\REST\Common\Input\ParsingDispatcher $parsingDispatcher
* @throws \eZ\Publish\Core\REST\Common\Exceptions\Parser
* @return \eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder\FieldRangeFacetBuilder
public function parse(array $data, ParsingDispatcher $parsingDispatcher)
throw new Exceptions\Parser('<FieldRange> is not supported yet');
}