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