StocksNew/vendor/php-flasher/flasher/Translation/TranslatorInterface.php

26 lines
505 B
PHP
Raw Permalink Normal View History

2024-08-27 12:03:06 +00:00
<?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();
}