PluginProbe
Metricool – Social media and site statistics / 2.1.1
Metricool – Social media and site statistics v2.1.1
2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.27 trunk
metricool / vendor / _scoped / symfony / translation / Provider / ProviderInterface.php

ProviderInterface.php in Metricool – Social media and site statistics 2.1.1, at vendor/_scoped/symfony/translation/Provider/ProviderInterface.php

28 lines 996 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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