EmbeddedBuilder
in package
Embedded Builder
Tags
Table of Contents
Properties
- $builder : ClassMetadataBuilder
- $mapping : array<string|int, mixed>
Methods
- __construct() : mixed
- build() : ClassMetadataBuilder
- Finalizes this embeddable and attach it to the ClassMetadata.
- setColumnPrefix() : $this
- Sets the column prefix for all of the embedded columns.
Properties
$builder
private
ClassMetadataBuilder
$builder
$mapping
private
array<string|int, mixed>
$mapping
Methods
__construct()
public
__construct(ClassMetadataBuilder $builder, array<string|int, mixed> $mapping) : mixed
Parameters
- $builder : ClassMetadataBuilder
- $mapping : array<string|int, mixed>
build()
Finalizes this embeddable and attach it to the ClassMetadata.
public
build() : ClassMetadataBuilder
Without this call an EmbeddedBuilder has no effect on the ClassMetadata.
Return values
ClassMetadataBuildersetColumnPrefix()
Sets the column prefix for all of the embedded columns.
public
setColumnPrefix(string $columnPrefix) : $this
Parameters
- $columnPrefix : string