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

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

Protected Properties

Property Type Description
$contentService eZ\Publish\API\Repository\ContentService Content service.
$fieldTypeParser eZ\Publish\Core\REST\Common\Input\FieldTypeParser FieldType parser.

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\ContentService $contentService, FieldTypeParser $fieldTypeParser ) Construct from content service.
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct Parse input structure.

Method Details

__construct() public method

Construct from content service.
public __construct ( eZ\Publish\API\Repository\ContentService $contentService, FieldTypeParser $fieldTypeParser )
$contentService eZ\Publish\API\Repository\ContentService
$fieldTypeParser eZ\Publish\Core\REST\Common\Input\FieldTypeParser

parse() public method

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

Property Details

$contentService protected property

Content service.
protected ContentService,eZ\Publish\API\Repository $contentService
return eZ\Publish\API\Repository\ContentService

$fieldTypeParser protected property

FieldType parser.
protected FieldTypeParser,eZ\Publish\Core\REST\Common\Input $fieldTypeParser
return eZ\Publish\Core\REST\Common\Input\FieldTypeParser