| 1 | <?php |
||
| 8 | class Filesystem implements TranslationServiceInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var FilesystemUpdater filesystemService |
||
| 12 | */ |
||
| 13 | private $filesystemService; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * |
||
| 17 | * @param FilesystemUpdater $filesystemService |
||
| 18 | */ |
||
| 19 | 1 | public function __construct(FilesystemUpdater $filesystemService) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @inheritDoc |
||
| 26 | */ |
||
| 27 | public function fetchTranslation(Message $message, $updateFs = false) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @inheritDoc |
||
| 36 | */ |
||
| 37 | public function updateTranslation(Message $message) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @inheritDoc |
||
| 44 | */ |
||
| 45 | public function flagTranslation(Message $message, $type = 0) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @inheritDoc |
||
| 51 | */ |
||
| 52 | public function createAsset(Message $message) |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @inheritDoc |
||
| 58 | */ |
||
| 59 | public function downloadAllTranslations() |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @inheritDoc |
||
| 65 | */ |
||
| 66 | public function importAllTranslations() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @inheritDoc |
||
| 72 | */ |
||
| 73 | public function synchronizeAllTranslations() |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @inheritDoc |
||
| 79 | */ |
||
| 80 | public function uploadAllTranslations() |
||
| 83 | } |
||
| 84 |