PHP Class eZ\Publish\Core\REST\Server\Input\Parser\Criterion\SectionIdentifier

Inheritance: extends eZ\Publish\Core\REST\Common\Input\BaseParser
Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$sectionService eZ\Publish\API\Repository\SectionService Section service.

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\SectionService $sectionService )
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\Content\Query\Criterion\SectionId Parses input structure to a SectionIdentifier Criterion object.

Method Details

__construct() public method

public __construct ( eZ\Publish\API\Repository\SectionService $sectionService )
$sectionService eZ\Publish\API\Repository\SectionService

parse() public method

Parses input structure to a SectionIdentifier Criterion object.
public parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\Content\Query\Criterion\SectionId
$data array
$parsingDispatcher eZ\Publish\Core\REST\Common\Input\ParsingDispatcher
return eZ\Publish\API\Repository\Values\Content\Query\Criterion\SectionId

Property Details

$sectionService protected property

Section service.
protected SectionService,eZ\Publish\API\Repository $sectionService
return eZ\Publish\API\Repository\SectionService