first commit
This commit is contained in:
27
vendor/php-flasher/flasher/Translation/EchoTranslator.php
vendored
Normal file
27
vendor/php-flasher/flasher/Translation/EchoTranslator.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the PHPFlasher package.
|
||||
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
|
||||
*/
|
||||
|
||||
namespace Flasher\Prime\Translation;
|
||||
|
||||
final class EchoTranslator implements TranslatorInterface
|
||||
{
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function translate($id, $parameters = array(), $locale = null)
|
||||
{
|
||||
return $id;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getLocale()
|
||||
{
|
||||
return 'en';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user