コード例 #1
0
ファイル: Form.php プロジェクト: Symfomany/laravelcinema
 public function add(FormInterface $child)
 {
     $name = $child->getName();
     $this->children[$name] = $child;
     $child->parent = $this;
 }
コード例 #2
0
ファイル: Form.php プロジェクト: websitetest/c9
 public function add(FormInterface $child, $type = null, array $options = array())
 {
     $this->children[$child->getName()];
 }