PHP Класс eZ\Publish\Core\REST\Server\Input\Parser\PolicyCreate

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

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

Свойство Тип Описание
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools Parser tools.
$roleService eZ\Publish\API\Repository\RoleService Role service.

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

Метод Описание
__construct ( eZ\Publish\API\Repository\RoleService $roleService, ParserTools $parserTools ) Construct.
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\User\PolicyCreateStruct Parse input structure.

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

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

Construct.
public __construct ( eZ\Publish\API\Repository\RoleService $roleService, ParserTools $parserTools )
$roleService eZ\Publish\API\Repository\RoleService
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools

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

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

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

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

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

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

Role service.
protected RoleService,eZ\Publish\API\Repository $roleService
Результат eZ\Publish\API\Repository\RoleService