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

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

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

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

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

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

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

Метод Описание
convertRelationType ( string $stringType ) : integer Converts the string representation of the relation type to its constant.

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

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

public __construct ( eZ\Publish\API\Repository\ContentService $contentService )
$contentService eZ\Publish\API\Repository\ContentService

convertRelationType() защищенный Метод

Converts the string representation of the relation type to its constant.
protected convertRelationType ( string $stringType ) : integer
$stringType string
Результат integer

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

Parse input structure.
public parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\Relation\Version
$data array
$parsingDispatcher eZ\Publish\Core\REST\Common\Input\ParsingDispatcher
Результат eZ\Publish\API\Repository\Values\Relation\Version

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

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

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