TYPO3 CMS  TYPO3_8-7
ConverterDto.php
Go to the documentation of this file.
1 <?php
2 declare(strict_types = 1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
22 {
23 
27  protected $formDefinition = [];
28 
32  protected $renderablePathParts = [];
33 
37  protected $formElementIdentifier = '';
38 
42  protected $propertyCollectionIndex = 0;
43 
47  protected $propertyCollectionName = '';
48 
53 
57  public function __construct(array $formDefinition)
58  {
59  $this->formDefinition = $formDefinition;
60  }
61 
65  public function getFormDefinition(): array
66  {
67  return $this->formDefinition;
68  }
69 
75  {
76  $this->formDefinition = $formDefinition;
77  return $this;
78  }
79 
83  public function getRenderablePathParts(): array
84  {
86  }
87 
93  {
94  $this->renderablePathParts = $renderablePathParts;
95  return $this;
96  }
97 
101  public function getFormElementIdentifier(): string
102  {
104  }
105 
111  {
112  $this->formElementIdentifier = $formElementIdentifier;
113  return $this;
114  }
115 
119  public function getPropertyCollectionIndex(): int
120  {
122  }
123 
129  {
130  $this->propertyCollectionIndex = $propertyCollectionIndex;
131  return $this;
132  }
133 
137  public function getPropertyCollectionName(): string
138  {
140  }
141 
147  {
148  $this->propertyCollectionName = $propertyCollectionName;
149  return $this;
150  }
151 
155  public function getPropertyCollectionElementIdentifier(): string
156  {
158  }
159 
165  {
166  $this->propertyCollectionElementIdentifier = $propertyCollectionElementIdentifier;
167  return $this;
168  }
169 }
setPropertyCollectionElementIdentifier(string $propertyCollectionElementIdentifier)