Source of file PlainPart.php
Size: 0,605 Bytes - Last Modified: 2021-12-23T10:39:20+00:00
/var/www/docs.ssmods.com/process/src/src/Api/FormBuilder/Parts/PlainPart.php
1234567891011121314151617181920212223 | <?php namespace Sunnysideup\BuildDataObject\Api\FormBuilder\Parts; use Sunnysideup\BuildDataObject\Api\FormData\FormDataDecomposer; class PlainPart extends BasePart { protected function onGetInnerComposite(int $index): InnerComposite { $listIndex = FormDataDecomposer::EXP_CHAR . FormDataDecomposer::LIST_IDENTIFIER . FormDataDecomposer::EXP_CHAR; $nameKey = $this->name; if ($this->isMultiple) { $nameKey .= $listIndex . $index; } return new InnerComposite($nameKey, $this->source1, null, null); } } |