Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea51aeb + 960b438 commit a97646fCopy full SHA for a97646f
cookbook/form/use_empty_data.rst
@@ -13,10 +13,12 @@ your form. For example::
13
{
14
$blog = ...;
15
16
- // $blog is passed in as the data, so the empty_data option is not needed
+ // $blog is passed in as the data, so the empty_data
17
+ // option is not needed
18
$form = $this->createForm(new BlogType(), $blog);
19
- // no data is passed in, so empty_data is used to get the "starting data"
20
+ // no data is passed in, so empty_data is
21
+ // used to get the "starting data"
22
$form = $this->createForm(new BlogType());
23
}
24
0 commit comments