Class

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

class CreatedVersion extends Version

CreatedVersion value object visitor.

Methods

__construct(FieldTypeSerializer $fieldTypeSerializer)

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

Visit struct returned by controllers.

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

Visits a single content field and generates its content.

from Version

Details

in Version at line 32
public __construct(FieldTypeSerializer $fieldTypeSerializer)

Parameters

FieldTypeSerializer $fieldTypeSerializer

at line 28
public visit(Visitor $visitor, Generator $generator, CreatedVersion $data)

Visit struct returned by controllers.

Parameters

Visitor $visitor
Generator $generator
CreatedVersion $data

in Version 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