class EmbeddedBuilder (View source)

Embedded Builder

Methods

__construct(ClassMetadataBuilder $builder, array $mapping)

No description

$this
setColumnPrefix(string $columnPrefix)

Sets the column prefix for all of the embedded columns.

build()

Finalizes this embeddable and attach it to the ClassMetadata.

Details

__construct(ClassMetadataBuilder $builder, array $mapping)

Parameters

ClassMetadataBuilder $builder
array $mapping

$this setColumnPrefix(string $columnPrefix)

Sets the column prefix for all of the embedded columns.

Parameters

string $columnPrefix

Return Value

$this

ClassMetadataBuilder build()

Finalizes this embeddable and attach it to the ClassMetadata.

Without this call an EmbeddedBuilder has no effect on the ClassMetadata.

Return Value

ClassMetadataBuilder