| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class User |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @ORM\Id |
||
| 14 | * @ORM\GeneratedValue |
||
| 15 | * @ORM\Column(type="integer") |
||
| 16 | */ |
||
| 17 | private $id; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @ORM\Column(type="string") |
||
| 21 | */ |
||
| 22 | private $name; |
||
| 23 | |||
| 24 | public function getId(): ?int |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getName(): ?string |
||
| 30 | { |
||
| 31 | return $this->name; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function setName(string $name): self |
||
| 39 | } |
||
| 40 | } |
||
| 41 |