PHP Class eZ\Publish\Core\REST\Server\Input\Parser\ContentTypeGroupInput

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

Protected Properties

Property Type Description
$contentTypeService eZ\Publish\API\Repository\ContentTypeService ContentType service.
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\ContentTypeService $contentTypeService, ParserTools $parserTools ) Construct.
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroupCreateStruct Parse input structure.

Method Details

__construct() public method

Construct.
public __construct ( eZ\Publish\API\Repository\ContentTypeService $contentTypeService, ParserTools $parserTools )
$contentTypeService eZ\Publish\API\Repository\ContentTypeService
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools

parse() public method

Parse input structure.
public parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroupCreateStruct
$data array
$parsingDispatcher eZ\Publish\Core\REST\Common\Input\ParsingDispatcher
return eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroupCreateStruct

Property Details

$contentTypeService protected property

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

$parserTools protected property

protected ParserTools,eZ\Publish\Core\REST\Common\Input $parserTools
return eZ\Publish\Core\REST\Common\Input\ParserTools