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

Inheritance: extends eZ\Publish\Core\REST\Common\Input\BaseParser
ファイルを表示 Open project: ezsystems/ezpublish-kernel Class Usage Examples

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 )
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\Content\VersionInfo Parse input structure.

Protected Methods

Method Description
convertVersionStatus ( string $statusString ) : integer Converts the given $statusString to its constant representation.

Method Details

__construct() public method

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

convertVersionStatus() protected method

Converts the given $statusString to its constant representation.
protected convertVersionStatus ( string $statusString ) : integer
$statusString string
return integer

parse() public method

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

Property Details

$contentService protected_oe property

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

$parserTools protected_oe property

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