| 1 | <?php |
||
| 10 | class GuiMessageRepresentation |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | * @Assert\NotBlank(groups={"Create", "Edit", "Delete"}) |
||
| 15 | */ |
||
| 16 | private $key; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | * @Assert\NotBlank(groups={"Create", "Edit"}) |
||
| 21 | */ |
||
| 22 | private $message; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function getKey() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $key |
||
| 34 | * |
||
| 35 | * @return GuiMessageRepresentation |
||
| 36 | */ |
||
| 37 | public function setKey($key) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getMessage() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $message |
||
| 54 | * |
||
| 55 | * @return GuiMessageRepresentation |
||
| 56 | */ |
||
| 57 | public function setMessage($message) |
||
| 63 | } |
||
| 64 |