public function add(FormInterface $child) { $name = $child->getName(); $this->children[$name] = $child; $child->parent = $this; }
public function add(FormInterface $child, $type = null, array $options = array()) { $this->children[$child->getName()]; }