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

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.
$contentTypeService eZ\Publish\API\Repository\ContentTypeService ContentType service.
$fieldTypeParser eZ\Publish\Core\REST\Common\Input\FieldTypeParser FieldType parser.
$locationCreateParser LocationCreate LocationCreate parser.
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools Parser tools.

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\ContentService $contentService, eZ\Publish\API\Repository\ContentTypeService $contentTypeService, FieldTypeParser $fieldTypeParser, LocationCreate $locationCreateParser, ParserTools $parserTools ) Construct.
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : RestContentCreateStruct Parse input structure.

Method Details

__construct() public method

Construct.
public __construct ( eZ\Publish\API\Repository\ContentService $contentService, eZ\Publish\API\Repository\ContentTypeService $contentTypeService, FieldTypeParser $fieldTypeParser, LocationCreate $locationCreateParser, ParserTools $parserTools )
$contentService eZ\Publish\API\Repository\ContentService
$contentTypeService eZ\Publish\API\Repository\ContentTypeService
$fieldTypeParser eZ\Publish\Core\REST\Common\Input\FieldTypeParser
$locationCreateParser LocationCreate
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools

parse() public method

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

Property Details

$contentService protected property

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

$contentTypeService protected property

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

$fieldTypeParser protected property

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

$locationCreateParser protected property

LocationCreate parser.
protected LocationCreate,eZ\Publish\Core\REST\Server\Input\Parser $locationCreateParser
return LocationCreate

$parserTools protected property

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