| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class CmsPhonenumber |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @Id @Column(length=50) |
||
| 13 | */ |
||
| 14 | public $phonenumber; |
||
| 15 | /** |
||
| 16 | * @ManyToOne(targetEntity="CmsUser", inversedBy="phonenumbers", cascade={"merge"}) |
||
| 17 | * @JoinColumn(name="user_id", referencedColumnName="id") |
||
| 18 | */ |
||
| 19 | public $user; |
||
| 20 | |||
| 21 | public function setUser(CmsUser $user) { |
||
| 22 | $this->user = $user; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function getUser() { |
||
| 27 | } |
||
| 28 | } |
||
| 29 |