Total Complexity | 11 |
Total Lines | 160 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class Translation |
||
9 | { |
||
10 | /** |
||
11 | * @var int |
||
12 | */ |
||
13 | private $id; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $locale; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $objectClass; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | private $field; |
||
29 | |||
30 | /** |
||
31 | * @var int |
||
32 | */ |
||
33 | private $foreignKey; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | private $content; |
||
39 | |||
40 | /** |
||
41 | * Get id. |
||
42 | * |
||
43 | * @return int |
||
44 | */ |
||
45 | public function getId() |
||
46 | { |
||
47 | return $this->id; |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * Get locale. |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getLocale() |
||
58 | } |
||
59 | |||
60 | /** |
||
61 | * Set locale. |
||
62 | * |
||
63 | * @param string $locale |
||
64 | * |
||
65 | * @return $this |
||
66 | */ |
||
67 | public function setLocale($locale) |
||
68 | { |
||
69 | $this->locale = $locale; |
||
70 | |||
71 | return $this; |
||
72 | } |
||
73 | |||
74 | /** |
||
75 | * Get objectClass. |
||
76 | * |
||
77 | * @return string |
||
78 | */ |
||
79 | public function getObjectClass() |
||
82 | } |
||
83 | |||
84 | /** |
||
85 | * Set objectClass. |
||
86 | * |
||
87 | * @param string $objectClass |
||
88 | * |
||
89 | * @return $this |
||
90 | */ |
||
91 | public function setObjectClass($objectClass) |
||
92 | { |
||
93 | $this->objectClass = $objectClass; |
||
94 | |||
95 | return $this; |
||
96 | } |
||
97 | |||
98 | /** |
||
99 | * Get field. |
||
100 | * |
||
101 | * @return string |
||
102 | */ |
||
103 | public function getField() |
||
104 | { |
||
105 | return $this->field; |
||
106 | } |
||
107 | |||
108 | /** |
||
109 | * Set field. |
||
110 | * |
||
111 | * @param string $field |
||
112 | * |
||
113 | * @return $this |
||
114 | */ |
||
115 | public function setField($field) |
||
116 | { |
||
117 | $this->field = $field; |
||
118 | |||
119 | return $this; |
||
120 | } |
||
121 | |||
122 | /** |
||
123 | * Get foreignKey. |
||
124 | * |
||
125 | * @return int |
||
126 | */ |
||
127 | public function getForeignKey() |
||
128 | { |
||
129 | return $this->foreignKey; |
||
130 | } |
||
131 | |||
132 | /** |
||
133 | * Set foreignKey. |
||
134 | * |
||
135 | * @param int $foreignKey |
||
136 | * |
||
137 | * @return $this |
||
138 | */ |
||
139 | public function setForeignKey($foreignKey) |
||
140 | { |
||
141 | $this->foreignKey = $foreignKey; |
||
142 | |||
143 | return $this; |
||
144 | } |
||
145 | |||
146 | /** |
||
147 | * Get content. |
||
148 | * |
||
149 | * @return string |
||
150 | */ |
||
151 | public function getContent() |
||
154 | } |
||
155 | |||
156 | /** |
||
157 | * Set content. |
||
158 | * |
||
159 | * @param string $content |
||
160 | * |
||
161 | * @return $this |
||
162 | */ |
||
163 | public function setContent($content) |
||
168 | } |
||
169 | } |
||
170 |