Class

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\Version

class Version extends ValueObjectVisitor

Version value object visitor.

Methods

visit(Visitor $visitor, Generator $generator, Version $data)

Visit struct returned by controllers.

setRouter(RouterInterface $router)

from ValueObjectVisitor
setTemplateRouter(RouterInterface $templateRouter)

from ValueObjectVisitor
setRequestParser(RequestParser $requestParser)

from ValueObjectVisitor
__construct(FieldTypeSerializer $fieldTypeSerializer)

visitField(Generator $generator, ContentType $contentType, Field $field)

Visits a single content field and generates its content.

Details

at line 44
public visit(Visitor $visitor, Generator $generator, Version $data)

Visit struct returned by controllers.

Parameters

Visitor $visitor
Generator $generator
Version $data

in ValueObjectVisitor at line 50
public setRouter(RouterInterface $router)

Parameters

RouterInterface $router

in ValueObjectVisitor at line 55
public setTemplateRouter(RouterInterface $templateRouter)

Parameters

RouterInterface $templateRouter

in ValueObjectVisitor at line 60
public setRequestParser(RequestParser $requestParser)

Parameters

RequestParser $requestParser

at line 32
public __construct(FieldTypeSerializer $fieldTypeSerializer)

Parameters

FieldTypeSerializer $fieldTypeSerializer

at line 98
public visitField(Generator $generator, ContentType $contentType, Field $field)

Visits a single content field and generates its content.

Parameters

Generator $generator
ContentType $contentType
Field $field