File "Translator.php"

Full Path: /home/warrior1/public_html/languages/wp-content/plugins/mailpoet/lib/Doctrine/Validator/Translator.php
File size: 462 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace MailPoet\Doctrine\Validator;

if (!defined('ABSPATH')) exit;


use MailPoetVendor\Symfony\Contracts\Translation\TranslatorTrait;

class Translator implements \MailPoetVendor\Symfony\Contracts\Translation\TranslatorInterface {

  use TranslatorTrait;

  public function transChoice($id, $number, array $parameters = [], $domain = null, $locale = null) {
    return $this->trans($id, ['%count%' => $number] + $parameters, $domain, $locale);
  }
}