| 1 | <?php |
||
| 19 | class GuiMessageRepresentation |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | * @Assert\NotBlank(groups={"Create", "Edit", "Delete"}) |
||
| 24 | */ |
||
| 25 | private $key; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | * @Assert\NotBlank(groups={"Create", "Edit"}) |
||
| 30 | */ |
||
| 31 | private $message; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getKey() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $key |
||
| 43 | * |
||
| 44 | * @return GuiMessageRepresentation |
||
| 45 | */ |
||
| 46 | public function setKey($key) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getMessage() |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param string $message |
||
| 63 | * |
||
| 64 | * @return GuiMessageRepresentation |
||
| 65 | */ |
||
| 66 | public function setMessage($message) |
||
| 72 | } |
||
| 73 |