Merge branch '2.7' into 2.8

* 2.7:
  marked method as being internal
This commit is contained in:
Fabien Potencier 2017-12-04 10:21:19 -08:00
commit 4dccfefb7c
1 changed files with 3 additions and 0 deletions

View File

@ -158,6 +158,9 @@ class FormExtension extends AbstractExtension implements InitRuntimeInterface
return $choice->value === $selectedValue;
}
/**
* @internal
*/
public function isRootForm(FormView $formView)
{
return null === $formView->parent;