2 declare(strict_types = 1);
32 public function __invoke(
string $_, $value, array $matches)
34 [, $formElementType, $propertyCollectionName, $propertyCollectionIndex, $propertyCollectionEditorIndex] = $matches;
37 $this->extractorDto->getPrototypeConfiguration(),
41 'formElementsDefinition',
44 'propertyCollections',
45 $propertyCollectionName,
46 $propertyCollectionIndex,
48 $propertyCollectionEditorIndex,
56 $this->extractorDto->getPrototypeConfiguration(),
60 'formElementsDefinition',
63 'propertyCollections',
64 $propertyCollectionName,
65 $propertyCollectionIndex,
72 $propertyCollectionName = str_replace(
'Definition',
'', $propertyCollectionName);
74 $result = $this->extractorDto->getResult();
75 $result[
'collections'][$propertyCollectionName][$propertyCollectionElementIdentifier][
'selectOptions'][$propertyPath][] = $value;
76 $this->extractorDto->setResult($result);