<?php namespace MailPoet\Doctrine\Validator; if (!defined('ABSPATH')) exit; use MailPoetVendor\Symfony\Contracts\Translation\TranslatorTrait; class Translator implements \MailPoetVendor\Symfony\Component\Translation\TranslatorInterface { use TranslatorTrait; public function transChoice($id, $number, array $parameters = [], $domain = null, $locale = null) { return $this->trans($id, ['%count%' => $number] + $parameters, $domain, $locale); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Translator.php | File | 462 B | 0644 |
|
ValidationException.php | File | 1.43 KB | 0644 |
|
ValidatorFactory.php | File | 1.52 KB | 0644 |
|
index.php | File | 0 B | 0644 |
|