AbstractProviderFactory.php
1 year ago
Dsn.php
1 year ago
FilteringProvider.php
1 year ago
NullProvider.php
1 year ago
NullProviderFactory.php
1 year ago
ProviderFactoryInterface.php
1 year ago
ProviderInterface.php
1 year ago
TranslationProviderCollection.php
1 year ago
TranslationProviderCollectionFactory.php
1 year ago
index.php
1 year ago
NullProvider.php
23 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Symfony\Component\Translation\Provider; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use MailPoetVendor\Symfony\Component\Translation\TranslatorBag; |
| 5 | use MailPoetVendor\Symfony\Component\Translation\TranslatorBagInterface; |
| 6 | class NullProvider implements ProviderInterface |
| 7 | { |
| 8 | public function __toString() : string |
| 9 | { |
| 10 | return 'null'; |
| 11 | } |
| 12 | public function write(TranslatorBagInterface $translatorBag, bool $override = \false) : void |
| 13 | { |
| 14 | } |
| 15 | public function read(array $domains, array $locales) : TranslatorBag |
| 16 | { |
| 17 | return new TranslatorBag(); |
| 18 | } |
| 19 | public function delete(TranslatorBagInterface $translatorBag) : void |
| 20 | { |
| 21 | } |
| 22 | } |
| 23 |