StocksNew/vendor/php-flasher/flasher/Translation/TranslatorInterface.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

26 lines
505 B
PHP

<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Prime\Translation;
interface TranslatorInterface
{
/**
* @param string $id
* @param array<string, mixed> $parameters
* @param string|null $locale
*
* @return string
*/
public function translate($id, $parameters = array(), $locale = null);
/**
* @return string
*/
public function getLocale();
}