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

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

Protected Properties

Property Type Description
$contentTypeService eZ\Publish\API\Repository\ContentTypeService Content type service.

Public Methods

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

Method Details

__construct() public method

public __construct ( eZ\Publish\API\Repository\ContentTypeService $contentTypeService )
$contentTypeService eZ\Publish\API\Repository\ContentTypeService

parse() public method

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

Property Details

$contentTypeService protected_oe property

Content type service.
protected ContentTypeService,eZ\Publish\API\Repository $contentTypeService
return eZ\Publish\API\Repository\ContentTypeService