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

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

Protected Properties

Property Type Description
$locationService eZ\Publish\API\Repository\LocationService Location service.
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools Parser tools.

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\LocationService $locationService, ParserTools $parserTools ) Construct.
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\Content\LocationCreateStruct Parse input structure.

Method Details

__construct() public method

Construct.
public __construct ( eZ\Publish\API\Repository\LocationService $locationService, ParserTools $parserTools )
$locationService eZ\Publish\API\Repository\LocationService
$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\Content\LocationCreateStruct
$data array
$parsingDispatcher eZ\Publish\Core\REST\Common\Input\ParsingDispatcher
return eZ\Publish\API\Repository\Values\Content\LocationCreateStruct

Property Details

$locationService protected property

Location service.
protected LocationService,eZ\Publish\API\Repository $locationService
return eZ\Publish\API\Repository\LocationService

$parserTools protected property

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