eZPublishCommunityProject  2013.5
eZ\Publish\Core\REST\Client\Input\Parser\ContentInfo Class Reference

Parser for ContentInfo. More...

+ Inheritance diagram for eZ\Publish\Core\REST\Client\Input\Parser\ContentInfo:
+ Collaboration diagram for eZ\Publish\Core\REST\Client\Input\Parser\ContentInfo:

Public Member Functions

 __construct (ParserTools $parserTools, ContentTypeService $contentTypeService)
 
 parse (array $data, ParsingDispatcher $parsingDispatcher)
 Parse input structure. More...
 

Protected Attributes

 $contentTypeService
 
 $parserTools
 

Detailed Description

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Client\Input\Parser\ContentInfo::__construct ( ParserTools  $parserTools,
ContentTypeService  $contentTypeService 
)
Parameters
\eZ\Publish\Core\REST\Common\Input\ParserTools$parserTools
\eZ\Publish\Core\REST\Client\ContentTypeService$contentTypeService

Member Function Documentation

eZ\Publish\Core\REST\Client\Input\Parser\ContentInfo::parse ( array  $data,
ParsingDispatcher  $parsingDispatcher 
)

Parse input structure.

Parameters
array$data
\eZ\Publish\Core\REST\Common\Input\ParsingDispatcher$parsingDispatcher
Returns
Todo:

Error handling

What about missing properties? Set them here, using the service to load? Or better set them in the service, since loading is really unsuitable here?

Member Data Documentation

eZ\Publish\Core\REST\Client\Input\Parser\ContentInfo::$contentTypeService
protected
eZ\Publish\Core\REST\Client\Input\Parser\ContentInfo::$parserTools
protected

The documentation for this class was generated from the following file: