This is wrong. The PHP templates are not using slots as they are not using template inheritance: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/form_widget_compound.html.php#L1