Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e2d911b

Browse files
committed
Fixing wrong transformer method name in upgrade notes - thanks to @stof
1 parent 5d68616 commit e2d911b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/form/data_transformers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Model and View Transformers
160160

161161
.. versionadded:: 2.1
162162
The names and method of the transformers were changed in Symfony 2.1.
163-
``appendNormTransformer`` became ``addModelTransformer`` and ``appendClientTransformer``
163+
``prependNormTransformer`` became ``addModelTransformer`` and ``appendClientTransformer``
164164
became ``addViewTransformer``.
165165

166166
In the above example, the transformer was used as a "model" transformer.

0 commit comments

Comments
 (0)