src/IPub/Forms/Forms/Container.php 1 location
|
@@ 53-59 (lines=7) @@
|
| 50 |
|
* |
| 51 |
|
* @return Container |
| 52 |
|
*/ |
| 53 |
|
public function addContainer($name) : Container |
| 54 |
|
{ |
| 55 |
|
$control = new self($this->entityManager); |
| 56 |
|
$control->setCurrentGroup($this->currentGroup); |
| 57 |
|
|
| 58 |
|
return $this[$name] = $control; |
| 59 |
|
} |
| 60 |
|
} |
| 61 |
|
|
src/IPub/Forms/Forms/EntityForm.php 1 location
|
@@ 64-70 (lines=7) @@
|
| 61 |
|
* |
| 62 |
|
* @return Container |
| 63 |
|
*/ |
| 64 |
|
public function addContainer($name) : Container |
| 65 |
|
{ |
| 66 |
|
$control = new Container($this->entityManager); |
| 67 |
|
$control->setCurrentGroup($this->currentGroup); |
| 68 |
|
|
| 69 |
|
return $this[$name] = $control; |
| 70 |
|
} |
| 71 |
|
} |
| 72 |
|
|