Total Complexity | 5 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class CmsEmail |
||
12 | { |
||
13 | /** |
||
14 | * @Id |
||
15 | * @Column(type="CustomIdObject") |
||
16 | * @GeneratedValue(strategy="NONE") |
||
17 | */ |
||
18 | public $id; |
||
19 | |||
20 | /** |
||
21 | * @Column(length=250) |
||
22 | */ |
||
23 | public $email; |
||
24 | |||
25 | /** |
||
26 | * @OneToOne(targetEntity="CmsUser", mappedBy="email") |
||
27 | */ |
||
28 | public $user; |
||
29 | |||
30 | public function getId() { |
||
31 | return $this->id; |
||
32 | } |
||
33 | |||
34 | public function getEmail() { |
||
36 | } |
||
37 | |||
38 | public function setEmail($email) { |
||
40 | } |
||
41 | |||
42 | public function getUser() { |
||
43 | return $this->user; |
||
44 | } |
||
45 | |||
46 | public function setUser(CmsUser $user) { |
||
48 | } |
||
49 | } |