@@ -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; |
@@ -125,6 +125,9 @@ discard block |
||
125 | 125 | return $this; |
126 | 126 | } |
127 | 127 | |
128 | + /** |
|
129 | + * @param string $type |
|
130 | + */ |
|
128 | 131 | protected function addFieldType($name, $type, $args = []) |
129 | 132 | { |
130 | 133 | return $this->addField($name, array_merge([ |
@@ -345,6 +348,9 @@ discard block |
||
345 | 348 | return $this->getFieldManager()->getFields(); |
346 | 349 | } |
347 | 350 | |
351 | + /** |
|
352 | + * @param string $name |
|
353 | + */ |
|
348 | 354 | protected function getFieldIndex($name) |
349 | 355 | { |
350 | 356 | return $this->getFieldManager()->getFieldIndex($name); |
@@ -364,6 +370,9 @@ discard block |
||
364 | 370 | } |
365 | 371 | } |
366 | 372 | |
373 | + /** |
|
374 | + * @param string $name |
|
375 | + */ |
|
367 | 376 | public function getField($name) |
368 | 377 | { |
369 | 378 | return $this->getFieldManager()->getField($name); |
@@ -439,6 +448,9 @@ discard block |
||
439 | 448 | return $this->setConfig('instructions', $value); |
440 | 449 | } |
441 | 450 | |
451 | + /** |
|
452 | + * @param string $key |
|
453 | + */ |
|
442 | 454 | public function setConfig($key, $value) |
443 | 455 | { |
444 | 456 | $field = $this->getFieldManager()->popField(); |