Many times, Symfony developers wonder how to make a form work with value objects. For example, think of a Money object with two fields $amount and $currency: class Money { private $amount; private $currency; public function __construct($amount, $currency) { $this->amount = $amount; $this->currency = $currency; } public function getAmount() // ... public function getCurrency() // ... } Can you writ
{{#tags}}- {{label}}
{{/tags}}