| 1 | <?php |
||
| 10 | abstract class Entity extends TimestampEntity |
||
| 11 | { |
||
| 12 | |||
| 13 | use \Starkerxp\StructureBundle\Entity\UuidTrait; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var \Starkerxp\StructureBundle\Entity\UtilisateurInterface |
||
| 17 | * |
||
| 18 | * @ORM\ManyToOne(targetEntity="\Starkerxp\StructureBundle\Entity\UtilisateurInterface", cascade="persist") |
||
| 19 | * @ORM\JoinColumn(name="utilisateur_id", referencedColumnName="id", nullable=false) |
||
| 20 | */ |
||
| 21 | protected $utilisateur; |
||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | /** |
||
| 26 | * Get utilisateur |
||
| 27 | * |
||
| 28 | * @return \Starkerxp\StructureBundle\Entity\UtilisateurInterface |
||
| 29 | */ |
||
| 30 | public function getUtilisateur() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Set UtilisateurInterface |
||
| 37 | * |
||
| 38 | * @param \Starkerxp\StructureBundle\Entity\UtilisateurInterface $utilisateur |
||
| 39 | * |
||
| 40 | */ |
||
| 41 | public function setUtilisateur(\Starkerxp\StructureBundle\Entity\UtilisateurInterface $utilisateur) |
||
| 45 | |||
| 46 | |||
| 47 | |||
| 48 | } |
||
|
|
|||
| 49 |
This check marks files that end in a newline character, i.e. an empy line.