@@ -18,6 +18,9 @@ discard block |
||
| 18 | 18 | $this->config = array_merge($this->config, $groupConfig); |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | + /** |
|
| 22 | + * @param string $key |
|
| 23 | + */ |
|
| 21 | 24 | public function setGroupConfig($key, $value) |
| 22 | 25 | { |
| 23 | 26 | $this->config[$key] = $value; |
@@ -203,6 +206,9 @@ discard block |
||
| 203 | 206 | return $this; |
| 204 | 207 | } |
| 205 | 208 | |
| 209 | + /** |
|
| 210 | + * @param string $type |
|
| 211 | + */ |
|
| 206 | 212 | protected function addFieldType($name, $type, $args = []) |
| 207 | 213 | { |
| 208 | 214 | return $this->addField($name, array_merge([ |
@@ -511,6 +517,9 @@ discard block |
||
| 511 | 517 | return $this->setConfig('instructions', $value); |
| 512 | 518 | } |
| 513 | 519 | |
| 520 | + /** |
|
| 521 | + * @param string $key |
|
| 522 | + */ |
|
| 514 | 523 | public function setConfig($key, $value) |
| 515 | 524 | { |
| 516 | 525 | $field = $this->popLastField(); |
@@ -84,6 +84,9 @@ |
||
| 84 | 84 | return $this->getParentContext(); |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | + /** |
|
| 88 | + * @param Builder $layout |
|
| 89 | + */ |
|
| 87 | 90 | protected function pushLayout($layout) |
| 88 | 91 | { |
| 89 | 92 | $this->layouts[] = $layout; |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | $this->builder = $builder; |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @return Builder |
|
| 18 | + */ |
|
| 16 | 19 | public function getBuilder() |
| 17 | 20 | { |
| 18 | 21 | return $this->builder; |