Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
25 | return new class() implements EntityInterface |
||
26 | { |
||
27 | use ImplementNotifyChangeTrackingPolicy, |
||
28 | UsesPHPMetaDataTrait, |
||
29 | ValidatedEntityTrait, |
||
30 | DSM\Traits\AlwaysValidTrait; |
||
31 | |||
32 | public function __construct() |
||
33 | { |
||
34 | self::getDoctrineStaticMeta()->setMetaData(new ClassMetadata('anon')); |
||
35 | } |
||
36 | |||
37 | public function getId(): UuidInterface |
||
40 | } |
||
41 | |||
42 | public function jsonSerialize() |
||
49 |