final class ValueObject (View source)

Marks the annotate class as a value object.

The schema will be embedded into parent entities by default, unless "embedded=false" is specified. In that case, regarding Doctrine the object is treated like an entity, but Flow applies some optimizations internally, e.g. to store only one instance of the value object.

Properties

bool $embedded

Whether the value object should be embedded.