Class

eZ\Publish\Core\REST\Server\Input\Parser\ContentCreate

class ContentCreate extends BaseParser

Parser for ContentCreate.

Methods

setRequestParser(RequestParser $requestParser)

from BaseParser
__construct(ContentService $contentService, ContentTypeService $contentTypeService, FieldTypeParser $fieldTypeParser, LocationCreate $locationCreateParser, ParserTools $parserTools)

Construct.

RestContentCreateStruct parse(array $data, ParsingDispatcher $parsingDispatcher)

Parse input structure.

Details

in BaseParser at line 22
public setRequestParser(RequestParser $requestParser)

Parameters

RequestParser $requestParser

at line 70
public __construct(ContentService $contentService, ContentTypeService $contentTypeService, FieldTypeParser $fieldTypeParser, LocationCreate $locationCreateParser, ParserTools $parserTools)

Construct.

Parameters

ContentService $contentService
ContentTypeService $contentTypeService
FieldTypeParser $fieldTypeParser
LocationCreate $locationCreateParser
ParserTools $parserTools

at line 92
public RestContentCreateStruct parse(array $data, ParsingDispatcher $parsingDispatcher)

Parse input structure.

Parameters

array $data
ParsingDispatcher $parsingDispatcher

Return Value

RestContentCreateStruct