Open pawaclawczyk opened 10 years ago
The following methods in FormBuilder were deprecated and have a new equivalent:
FormBuilder
prependClientTransformer
addViewTransformer
true
appendClientTransformer
getClientTransformers
getViewTransformers
resetClientTransformers
resetViewTransformers
prependNormTransformer
addModelTransformer
appendNormTransformer
getNormTransformers
getModelTransformers
resetNormTransformers
resetModelTransformers
The deprecated methods will be removed in Symfony 2.3. You are advised to update your application.
Before:
$builder->appendClientTransformer(new MyTransformer());
After:
$builder->addViewTransformer(new MyTransformer());
The following methods in
FormBuilder
were deprecated and have a new equivalent:prependClientTransformer
:addViewTransformer
, withtrue
as second argumentappendClientTransformer
:addViewTransformer
getClientTransformers
:getViewTransformers
resetClientTransformers
:resetViewTransformers
prependNormTransformer
:addModelTransformer
appendNormTransformer
:addModelTransformer
, withtrue
as second argumentgetNormTransformers
:getModelTransformers
resetNormTransformers
:resetModelTransformers
The deprecated methods will be removed in Symfony 2.3. You are advised to update your application.
Before:
After: