final class ValueObject (View source)

Marks the annotate class as a value object.

Regarding Doctrine the object is treated like an entity, but Flow applies some optimizations internally, e.g. to store only one instance of a value object.

Properties

bool $embedded

Whether the value object should be embedded.