You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #7560 Resolving $this usage outside a class on form.rst (matthieu88160)
This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes#7560).
Discussion
----------
Resolving $this usage outside a class on form.rst
This commit take care of the framework use code examples only.
The "Creating a simple Form" define the coding place to be into a controller action method. Unlikely, the documentation consider into the other examples that the reader will know the place of the sample code. This does not allow the examples to be standalone and can lead some disappointment for which one want to have informations about a single section.
This commit offer to place the code samples into the default controller to create a logic use of the "$this" special variable.
Commits
-------
8cf9cd2 Resolving $this usage outside a class on form.rst
0 commit comments