1 | <?php |
||
10 | class TranslationText |
||
11 | { |
||
12 | /** |
||
13 | * The translation title. |
||
14 | * |
||
15 | * @var string |
||
16 | * |
||
17 | * @JMS\Type("string") |
||
18 | * @JMS\SerializedName("TITLE") |
||
19 | */ |
||
20 | protected $title; |
||
21 | |||
22 | /** |
||
23 | * The translation description. |
||
24 | * |
||
25 | * @var string |
||
26 | * |
||
27 | * @JMS\Type("string") |
||
28 | * @JMS\SerializedName("DESCRIPTION") |
||
29 | */ |
||
30 | protected $description; |
||
31 | |||
32 | /** |
||
33 | * Constructor. |
||
34 | * |
||
35 | * @param string $title The title. |
||
36 | * @param string $description The description. |
||
37 | */ |
||
38 | 6 | public function __construct($title, $description) |
|
43 | |||
44 | /** |
||
45 | * Get the title. |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getTitle() |
||
53 | |||
54 | /** |
||
55 | * Set the title. |
||
56 | * |
||
57 | * @param string $title The title. |
||
58 | * @return TranslationText |
||
59 | */ |
||
60 | 6 | public function setTitle($title) |
|
66 | |||
67 | /** |
||
68 | * Get the description. |
||
69 | * |
||
70 | * @return string |
||
71 | */ |
||
72 | public function getDescription() |
||
76 | |||
77 | /** |
||
78 | * Set the description. |
||
79 | * |
||
80 | * @param string $description The description. |
||
81 | * @return TranslationText |
||
82 | */ |
||
83 | 6 | public function setDescription($description) |
|
89 | } |
||
90 |