| Total Complexity | 10 | 
| Total Lines | 69 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 9 | final class FieldFactoryConfig  | 
            ||
| 10 | { | 
            ||
| 11 | private ?string $template = null;  | 
            ||
| 12 | |||
| 13 | private ?bool $setInputIdAttribute = null;  | 
            ||
| 14 | |||
| 15 | private ?Label $labelTag = null;  | 
            ||
| 16 | private ?bool $setLabelForAttribute = null;  | 
            ||
| 17 | |||
| 18 | private array $inputTextConfig = [];  | 
            ||
| 19 | |||
| 20 | public function template(?string $template): self  | 
            ||
| 21 |     { | 
            ||
| 22 | $new = clone $this;  | 
            ||
| 23 | $new->template = $template;  | 
            ||
| 24 | return $new;  | 
            ||
| 25 | }  | 
            ||
| 26 | |||
| 27 | public function setInputIdAttribute(?bool $value): self  | 
            ||
| 28 |     { | 
            ||
| 29 | $new = clone $this;  | 
            ||
| 30 | $new->setInputIdAttribute = $value;  | 
            ||
| 31 | return $new;  | 
            ||
| 32 | }  | 
            ||
| 33 | |||
| 34 | public function labelTag(?Label $tag): self  | 
            ||
| 35 |     { | 
            ||
| 36 | $new = clone $this;  | 
            ||
| 37 | $new->labelTag = $tag;  | 
            ||
| 38 | return $new;  | 
            ||
| 39 | }  | 
            ||
| 40 | |||
| 41 | public function setLabelForAttribute(?bool $value): self  | 
            ||
| 46 | }  | 
            ||
| 47 | |||
| 48 | public function inputTextConfig(array $config): self  | 
            ||
| 53 | }  | 
            ||
| 54 | |||
| 55 | public function getTemplate(): ?string  | 
            ||
| 56 |     { | 
            ||
| 57 | return $this->template;  | 
            ||
| 58 | }  | 
            ||
| 59 | |||
| 60 | public function getSetInputIdAttribute(): ?bool  | 
            ||
| 61 |     { | 
            ||
| 62 | return $this->setInputIdAttribute;  | 
            ||
| 63 | }  | 
            ||
| 64 | |||
| 65 | public function getLabelTag(): ?Label  | 
            ||
| 66 |     { | 
            ||
| 67 | return $this->labelTag;  | 
            ||
| 68 | }  | 
            ||
| 69 | |||
| 70 | public function getSetLabelForAttribute(): ?bool  | 
            ||
| 73 | }  | 
            ||
| 74 | |||
| 75 | public function getInputTextConfig(): array  | 
            ||
| 78 | }  | 
            ||
| 79 | }  | 
            ||
| 80 |