php - symfony3 save object to mongodb -


i json object front-end application this:

{ key1: 'value1' key2: {   key3: 'value3',   key4: {     key5: 'velue5' } } } 

in form how can tell symfony key2 instance object composed of multiple fields, want this:

    $builder         ->add('key1', type\texttype::class)         ->add('key2', object, [            'key3' => type\texttype::class     ]); 


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

c# - Populating Gridview inside Listview ItemTemplate On Web User Control from Code Behind -