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