We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following methods in class FormView were deprecated and will be removed in Symfony 2.3:
FormView
set
has
get
all
getVars
addChild
getChild
getChildren
removeChild
hasChild
hasChildren
getParent
hasParent
setParent
You should access the public properties vars, children and parent instead.
vars
children
parent
Before:
$view->set('help', 'A text longer than six characters'); $view->set('error_class', 'max_length_error');
After:
$view->vars = array_replace($view->vars, array( 'help' => 'A text longer than six characters', 'error_class' => 'max_length_error', ));
echo $view->get('error_class');
echo $view->vars['error_class'];
if ($view->hasChildren()) { ...
if (count($view->children)) { ...
The text was updated successfully, but these errors were encountered:
pawaclawczyk
No branches or pull requests
The following methods in class
FormView
were deprecated and will beremoved in Symfony 2.3:
set
has
get
all
getVars
addChild
getChild
getChildren
removeChild
hasChild
hasChildren
getParent
hasParent
setParent
You should access the public properties
vars
,children
andparent
instead.
Before:
After:
Before:
After:
Before:
After:
The text was updated successfully, but these errors were encountered: