[Form] FormView::offsetUnset() is now supported. It was possible anyway using getChildren() and setChildren().
This commit is contained in:
parent
3cc5d9f4cd
commit
173beeba74
@ -147,7 +147,7 @@ class FormView implements \ArrayAccess, \IteratorAggregate, \Countable
|
||||
|
||||
public function offsetUnset($name)
|
||||
{
|
||||
throw new \BadMethodCallException('Not supported');
|
||||
unset($this->children[$name]);
|
||||
}
|
||||
|
||||
public function getIterator()
|
||||
|
Reference in New Issue
Block a user