Version 1.3.0 #7

Merged
kor-elf merged 2 commits from develop into main 2025-01-16 21:23:42 +05:00
Showing only changes of commit 91be5052ed - Show all commits

View File

@ -120,7 +120,7 @@ ID folder. Код можно увидеть в адресе console.yandex.cloud
>
> $translationCompletedListener = \App\Services\TranslationListener::class;
> $data = ['contentId' => 1];
> $afterTranslateDto = \KorElf\TranslateLaravel\DTO\AfterTranslateDto($translationCompletedListener, $data);
> $afterTranslateDto = new \KorElf\TranslateLaravel\DTO\AfterTranslateDto($translationCompletedListener, $data);
>
> // Отправляем на очередь
> \KorElf\TranslateLaravel\Facades\Translate::runJob($params, $afterTranslateDto);