4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Bridge\Twig\Tests\Extension\Fixtures
;
14 use Symfony\Component\Translation\TranslatorInterface
;
16 class StubTranslator
implements TranslatorInterface
18 public function trans($id, array $parameters = array(), $domain = null, $locale = null)
20 return '[trans]'.$id.'[/trans]';
23 public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null)
25 return '[trans]'.$id.'[/trans]';
28 public function setLocale($locale)
32 public function getLocale()