| 1 | <?php |
||
| 11 | class FieldTranslation implements ModelInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $locale; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | private $value; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * FieldTranslation constructor. |
||
| 25 | * |
||
| 26 | * @param array $data |
||
| 27 | */ |
||
| 28 | public function __construct(array $data) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public function getLocale(): string |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public function getValue(): string |
||
| 49 | } |
||
| 50 |