Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | class AbstractEntityUpdateDto implements DataTransferObjectInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private static $entityFqn; |
||
14 | /** |
||
15 | * @var UuidInterface |
||
16 | */ |
||
17 | private $id; |
||
18 | |||
19 | public function __construct(string $entityFqn, UuidInterface $id) |
||
23 | } |
||
24 | |||
25 | public static function getEntityFqn(): string |
||
26 | { |
||
27 | return self::$entityFqn; |
||
28 | } |
||
29 | |||
30 | public function getId(): UuidInterface |
||
31 | { |
||
32 | return $this->id; |
||
33 | } |
||
34 | |||
35 | public function setId(UuidInterface $id) |
||
40 | } |
||
41 | } |
||
42 |