| 1 |
<?php |
| 2 |
|
| 3 |
/* |
| 4 |
* This file is part of the Symfony package. |
| 5 |
* |
| 6 |
* (c) Fabien Potencier <[email protected]> |
| 7 |
* |
| 8 |
* For the full copyright and license information, please view the LICENSE |
| 9 |
* file that was distributed with this source code. |
| 10 |
*/ |
| 11 |
namespace Metricool\Vendor\Symfony\Component\Translation\Provider; |
| 12 |
|
| 13 |
use Metricool\Vendor\Symfony\Component\Translation\TranslatorBag; |
| 14 |
use Metricool\Vendor\Symfony\Component\Translation\TranslatorBagInterface; |
| 15 |
interface ProviderInterface |
| 16 |
{ |
| 17 |
public function __toString(): string; |
| 18 |
/** |
| 19 |
* Translations available in the TranslatorBag only must be created. |
| 20 |
* Translations available in both the TranslatorBag and on the provider |
| 21 |
* must be overwritten. |
| 22 |
* Translations available on the provider only must be kept. |
| 23 |
*/ |
| 24 |
public function write(TranslatorBagInterface $translatorBag): void; |
| 25 |
public function read(array $domains, array $locales): TranslatorBag; |
| 26 |
public function delete(TranslatorBagInterface $translatorBag): void; |
| 27 |
} |
| 28 |
|