1 | <?php |
||
12 | class Translation |
||
13 | { |
||
14 | /** @var string */ |
||
15 | protected $localPath; |
||
16 | |||
17 | /** @var string */ |
||
18 | protected $crowdinPath; |
||
19 | |||
20 | /** @var string */ |
||
21 | protected $title; |
||
22 | |||
23 | /** @var string */ |
||
24 | protected $exportPattern; |
||
25 | |||
26 | public function __construct($localPath, $crowdinPath) |
||
31 | |||
32 | /** |
||
33 | * @param string $crowdinPath |
||
34 | */ |
||
35 | public function setCrowdinPath($crowdinPath) |
||
39 | |||
40 | /** |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getCrowdinPath() |
||
47 | |||
48 | /** |
||
49 | * @param string $exportPattern |
||
50 | */ |
||
51 | public function setExportPattern($exportPattern) |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getExportPattern() |
||
63 | |||
64 | /** |
||
65 | * @param string $localPath |
||
66 | * |
||
67 | * @throws InvalidArgumentException |
||
68 | */ |
||
69 | public function setLocalPath($localPath) |
||
77 | |||
78 | /** |
||
79 | * @return string |
||
80 | */ |
||
81 | public function getLocalPath() |
||
85 | |||
86 | /** |
||
87 | * @param string $title |
||
88 | */ |
||
89 | public function setTitle($title) |
||
93 | |||
94 | /** |
||
95 | * @return string |
||
96 | */ |
||
97 | public function getTitle() |
||
101 | } |
||
102 |