Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
43 | class GH7366Entity |
||
44 | { |
||
45 | /** |
||
46 | * @Id |
||
47 | * @Column(type="integer") |
||
48 | * @GeneratedValue |
||
49 | * @var int |
||
50 | */ |
||
51 | public $id; |
||
52 | |||
53 | /** |
||
54 | * @Column(type="integer") |
||
55 | * @Version |
||
56 | */ |
||
57 | protected $lockVersion = 1; |
||
58 | |||
59 | /** |
||
60 | * @Column(length=32) |
||
61 | * @var string |
||
62 | */ |
||
63 | protected $name; |
||
64 | |||
65 | |||
66 | public function __construct(string $name) |
||
69 | } |
||
70 | |||
71 | public function getName(): string |
||
76 |