Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function __construct( |
||
14 | ?string $namespace, |
||
15 | string $attributeName, |
||
16 | bool $isIdAttribute = false, |
||
17 | bool $isRequired = false, |
||
18 | ?string $defaultValue = null |
||
19 | ) { |
||
20 | $this->attributeName = $attributeName; |
||
21 | $this->namespace = $namespace; |
||
22 | $this->isIdAttribute = $isIdAttribute; |
||
23 | $this->isRequired = $isRequired; |
||
24 | $this->defaultValue = $defaultValue; |
||
25 | } |
||
27 |