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

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.
$fieldDefinitionCreateParser FieldDefinitionCreate FieldDefinitionCreate parser.
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools Parser tools.

Public Methods

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

Method Details

__construct() public method

Construct.
public __construct ( eZ\Publish\API\Repository\ContentTypeService $contentTypeService, FieldDefinitionCreate $fieldDefinitionCreateParser, ParserTools $parserTools )
$contentTypeService eZ\Publish\API\Repository\ContentTypeService
$fieldDefinitionCreateParser FieldDefinitionCreate
$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\ContentTypeCreateStruct
$data array
$parsingDispatcher eZ\Publish\Core\REST\Common\Input\ParsingDispatcher
return eZ\Publish\API\Repository\Values\ContentType\ContentTypeCreateStruct

Property Details

$contentTypeService protected property

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

$fieldDefinitionCreateParser protected property

FieldDefinitionCreate parser.
protected FieldDefinitionCreate,eZ\Publish\Core\REST\Server\Input\Parser $fieldDefinitionCreateParser
return FieldDefinitionCreate

$parserTools protected property

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