| 1 | <?php |
||
| 10 | abstract class AbstractUser extends AbstractEntity |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var \Starkerxp\StructureBundle\Entity\UserInterface |
||
| 15 | * |
||
| 16 | * @ORM\ManyToOne(targetEntity="\Starkerxp\StructureBundle\Entity\UserInterface", cascade="persist") |
||
| 17 | * @ORM\JoinColumn(name="user_id", referencedColumnName="id", nullable=true) |
||
| 18 | */ |
||
| 19 | protected $user; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get user |
||
| 23 | * |
||
| 24 | * @return \Starkerxp\StructureBundle\Entity\UserInterface |
||
| 25 | */ |
||
| 26 | public function getUser() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Set UserInterface |
||
| 33 | * |
||
| 34 | * @param \Starkerxp\StructureBundle\Entity\UserInterface $user |
||
| 35 | * |
||
| 36 | */ |
||
| 37 | public function setUser(\Starkerxp\StructureBundle\Entity\UserInterface $user) |
||
| 41 | |||
| 42 | } |
||
|
|
|||
| 43 |
This check marks files that end in a newline character, i.e. an empy line.