/home/techb158/immovalet.com/vendor/symfony/translation
NameSizeModeActions
Catalogue/-0755rm
Command/-0755rm
DataCollector/-0755rm
DependencyInjection/-0755rm
Dumper/-0755rm
Exception/-0755rm
Extractor/-0755rm
Formatter/-0755rm
Loader/-0755rm
Provider/-0755rm
Reader/-0755rm
Resources/-0755rm
Test/-0755rm
Util/-0755rm
Writer/-0755rm
CHANGELOG.md62130644editdlrm
composer.json18150644editdlrm
DataCollectorTranslator.php48640644editdlrm
IdentityTranslator.php6610644editdlrm
LICENSE10650644editdlrm
LoggingTranslator.php37900644editdlrm
MessageCatalogue.php86990644editdlrm
MessageCatalogueInterface.php37940644editdlrm
MetadataAwareInterface.php13210644editdlrm
PseudoLocalizationTranslator.php110420644editdlrm
README.md9340644editdlrm
TranslatableMessage.php13520644editdlrm
Translator.php144580644editdlrm
TranslatorBag.php30680644editdlrm
TranslatorBagInterface.php9060644editdlrm
Edit: /home/techb158/immovalet.com/vendor/symfony/translation/TranslatableMessage.php (1352B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Translation; use Symfony\Contracts\Translation\TranslatableInterface; use Symfony\Contracts\Translation\TranslatorInterface; /** * @author Nate Wiebe */ class TranslatableMessage implements TranslatableInterface { private $message; private $parameters; private $domain; public function __construct(string $message, array $parameters = [], string $domain = null) { $this->message = $message; $this->parameters = $parameters; $this->domain = $domain; } public function __toString(): string { return $this->getMessage(); } public function getMessage(): string { return $this->message; } public function getParameters(): array { return $this->parameters; } public function getDomain(): ?string { return $this->domain; } public function trans(TranslatorInterface $translator, string $locale = null): string { return $translator->trans($this->getMessage(), $this->getParameters(), $this->getDomain(), $locale); } }