| 1 | <?php |
||
| 10 | class Translation |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $localPath; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $crowdinPath; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $title; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $exportPattern; |
||
| 31 | |||
| 32 | public function __construct($localPath, $crowdinPath) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param string $crowdinPath |
||
| 40 | */ |
||
| 41 | public function setCrowdinPath($crowdinPath) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getCrowdinPath() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param string $exportPattern |
||
| 56 | */ |
||
| 57 | public function setExportPattern($exportPattern) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | public function getExportPattern() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @param string $localPath |
||
| 72 | * |
||
| 73 | * @throws \InvalidArgumentException |
||
| 74 | */ |
||
| 75 | public function setLocalPath($localPath) |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @return string |
||
| 86 | */ |
||
| 87 | public function getLocalPath() |
||
| 91 | |||
| 92 | /** |
||
| 93 | * @param string $title |
||
| 94 | */ |
||
| 95 | public function setTitle($title) |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @return string |
||
| 102 | */ |
||
| 103 | public function getTitle() |
||
| 107 | } |
||
| 108 |