PHP Class eZ\Publish\Core\REST\Client\Input\Parser\Version

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

Protected Properties

Property Type Description
$contentService eZ\Publish\Core\REST\Client\ContentService Content Service.
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools

Public Methods

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

Method Details

__construct() public method

public __construct ( ParserTools $parserTools, eZ\Publish\API\Repository\ContentService $contentService, eZ\Publish\API\Repository\ContentTypeService $contentTypeService )
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools
$contentService eZ\Publish\API\Repository\ContentService
$contentTypeService eZ\Publish\API\Repository\ContentTypeService

parse() public method

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

Property Details

$contentService protected property

Content Service.
protected ContentService,eZ\Publish\Core\REST\Client $contentService
return eZ\Publish\Core\REST\Client\ContentService

$parserTools protected property

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