[Form] FormView::offsetUnset() is now supported. It was possible anyway using getChildren() and setChildren().

This commit is contained in:
Bernhard Schussek 2011-05-04 18:21:49 +02:00
parent 3cc5d9f4cd
commit 173beeba74

View File

@ -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()