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

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

Protected Properties

Property Type Description
$objectStateService eZ\Publish\API\Repository\ObjectStateService Object state service.
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\ObjectStateService $objectStateService, ParserTools $parserTools ) Construct.
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\ObjectState\ObjectStateCreateStruct Parse input structure.

Method Details

__construct() public method

Construct.
public __construct ( eZ\Publish\API\Repository\ObjectStateService $objectStateService, ParserTools $parserTools )
$objectStateService eZ\Publish\API\Repository\ObjectStateService
$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\ObjectState\ObjectStateCreateStruct
$data array
$parsingDispatcher eZ\Publish\Core\REST\Common\Input\ParsingDispatcher
return eZ\Publish\API\Repository\Values\ObjectState\ObjectStateCreateStruct

Property Details

$objectStateService protected property

Object state service.
protected ObjectStateService,eZ\Publish\API\Repository $objectStateService
return eZ\Publish\API\Repository\ObjectStateService

$parserTools protected property

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