PHP Class eZ\Publish\Core\REST\Server\Input\Parser\RoleInput

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

Protected Properties

Property Type Description
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools
$roleService eZ\Publish\API\Repository\RoleService Role service.

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\RoleService $roleService, ParserTools $parserTools ) Construct.
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\User\RoleCreateStruct Parse input structure.

Method Details

__construct() public method

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() public method

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

Property Details

$parserTools protected property

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

$roleService protected property

Role service.
protected RoleService,eZ\Publish\API\Repository $roleService
return eZ\Publish\API\Repository\RoleService