Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

TranslationService.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\API\Repository;
8
9 use eZ\Publish\API\Repository\Values\Translation;
10
20 interface TranslationService
21 {
32 public function translate(Translation $translation, $locale);
33
45 public function translateString($translation, $locale);
46 }
eZ\Publish\API\Repository\Values\Translation
Base class fro translation messages.
Definition: Translation.php:15
eZ\Publish\API\Repository\TranslationService
Interface for a translation service.
Definition: TranslationService.php:21
eZ\Publish\API\Repository\TranslationService\translate
translate(Translation $translation, $locale)
Translate.
eZ\Publish\API\Repository\TranslationService\translateString
translateString($translation, $locale)
Translate string.
eZ\Publish\API\Repository\Values\Translation
Definition: API/Repository/Values/Translation/Message.php:7
eZ\Publish\API\Repository
Definition: API/Repository/BookmarkService.php:9
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.