Class

eZ\Publish\Core\REST\Client\Input\Parser\ContentType

class ContentType extends BaseParser

Parser for ContentType.

Methods

setRequestParser(RequestParser $requestParser)

from BaseParser
__construct(ParserTools $parserTools, ContentTypeService $contentTypeService)

ContentType parse(array $data, ParsingDispatcher $parsingDispatcher)

Parse input structure.

Details

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

Parameters

RequestParser $requestParser

at line 37
public __construct(ParserTools $parserTools, ContentTypeService $contentTypeService)

Parameters

ParserTools $parserTools
ContentTypeService $contentTypeService

at line 56
public ContentType parse(array $data, ParsingDispatcher $parsingDispatcher)

Parse input structure.

Parameters

array $data
ParsingDispatcher $parsingDispatcher

Return Value

ContentType