Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | abstract class AbstractValueObject implements ValueObject |
||
22 | { |
||
23 | use ImmutabilityBehaviour; |
||
24 | |||
25 | /** |
||
26 | * AbstractValueObject constructor. |
||
27 | */ |
||
28 | final protected function __construct() |
||
29 | { |
||
30 | $this->assertImmutable(); |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | * |
||
36 | * @return string[] |
||
37 | */ |
||
38 | final protected function getAllowedInterfaces(): array |
||
41 | } |
||
42 | } |
||
43 |