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.
1 parent e687b74 commit de0fc44Copy full SHA for de0fc44
book/forms.rst
@@ -230,7 +230,7 @@ of the ``$product`` object. This all happens via the ``bindRequest()`` method.
230
$product = new Product();
231
$product->name = 'Test product';
232
233
- $product->bindRequest($this->get('request'), $product);
+ $form->bindRequest($this->get('request'));
234
echo $product->name;
235
236
The above statement will echo ``Foo``, because ``bindRequest`` ultimately
0 commit comments