PHP Класс eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo

Наследование: extends eZ\Publish\Core\REST\Common\Input\BaseParser
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$contentService eZ\Publish\Core\REST\Client\ContentService Content Service.
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools

Открытые методы

Метод Описание
__construct ( ParserTools $parserTools, eZ\Publish\API\Repository\ContentService $contentService )
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\Content\VersionInfo Parse input structure.

Защищенные методы

Метод Описание
convertVersionStatus ( string $statusString ) : integer Converts the given $statusString to its constant representation.

Описание методов

__construct() публичный Метод

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() защищенный Метод

Converts the given $statusString to its constant representation.
protected convertVersionStatus ( string $statusString ) : integer
$statusString string
Результат integer

parse() публичный Метод

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
Результат eZ\Publish\API\Repository\Values\Content\VersionInfo

Описание свойств

$contentService защищенное свойство

Content Service.
protected ContentService,eZ\Publish\Core\REST\Client $contentService
Результат eZ\Publish\Core\REST\Client\ContentService

$parserTools защищенное свойство

protected ParserTools,eZ\Publish\Core\REST\Common\Input $parserTools
Результат eZ\Publish\Core\REST\Common\Input\ParserTools