[Flow] Best practice for Persist Value Object
Rocky
rockysynergy at gmail.com
Sat Jun 21 11:43:12 CEST 2014
Hi,
One Entity object has many Value objects. $valueObjects property holds the collection of Value objects. After I migrate, the table for the Value object is created. But the Value object properties are not stored in its table upon Entity object creation. But if I annotate the $valueObjects as @ORM\Column(type="array"), the properties are stored in value_objects column of Entity object's table. Are there any ways to persist value object?
Regards,
Rocky
More information about the Flow
mailing list