How to create two related radiobuttons?
<p>The code below creates 2 radiobuttons, however they are not related to each other. One is rendered with a name <code>description_form[friend]</code> and the other one with the name - <code>description_form[guide]</code>. How can they be rendered with the same name? The <a href="http://symfony.com/doc/current/reference/forms/types/radio.html" rel="noreferrer">documentation</a> is not clear about this subject.</p>

<pre><code>public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            -&gt;add('friend', RadioType::class, array(
                'label'    =&gt; 'Friend',
                'required' =&gt; false
            ))
            -&gt;add('guide', RadioType::class, array(
                'label'    =&gt; 'Guide',
                'required' =&gt; false
            ));
    }
</code></pre>