1 | <?php |
||
20 | trait StringNomTrait { |
||
21 | |||
22 | /** |
||
23 | * Nom. |
||
24 | * |
||
25 | * @var string|null |
||
26 | */ |
||
27 | private $nom; |
||
28 | |||
29 | /** |
||
30 | * Get the nom. |
||
31 | * |
||
32 | * @return string|null Returns the nom. |
||
33 | */ |
||
34 | 45 | public function getNom(): ?string { |
|
37 | |||
38 | /** |
||
39 | * Set the nom. |
||
40 | * |
||
41 | * @param string|null $nom The nom. |
||
42 | * @return self Returns tis instance. |
||
43 | */ |
||
44 | 45 | public function setNom(?string $nom): self { |
|
48 | } |