Hi Hari,
you can check how is it done in Silex:
https://github.com/fabpot/Silex/blob/master/src/Silex/Provider/FormServiceProvider.php
The controller method createFormBuilder translates to
public function createFormBuilder($data = null, array $options = array())
{
return
Hi Bart,
having `children` the same type as the parent starts an endless
recursion ( children like create another children which will create
another and so on ).
Easiest way to address this (tho maybe not optimal) is to create
another definition for the nested type.
On Jun 17, 9:02 am, Bart