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

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

Protected Properties

Property Type Description
$contentTypeService eZ\Publish\API\Repository\ContentTypeService ContentType service.
$fieldTypeParser eZ\Publish\Core\REST\Common\Input\FieldTypeParser FieldType parser.
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools Parser tools.

Public Methods

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

Method Details

__construct() public method

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

Property Details

$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

$parserTools protected property

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