wp-user-avatar
/
third-party
/
vendor
/
symfony
/
translation
/
Provider
/
ProviderFactoryInterface.php
AbstractProviderFactory.php
2 months ago
Dsn.php
2 months ago
FilteringProvider.php
2 months ago
NullProvider.php
2 months ago
NullProviderFactory.php
2 months ago
ProviderFactoryInterface.php
2 months ago
ProviderInterface.php
2 months ago
TranslationProviderCollection.php
2 months ago
TranslationProviderCollectionFactory.php
2 months ago
ProviderFactoryInterface.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * This file is part of the Symfony package. |
| 5 | * |
| 6 | * (c) Fabien Potencier <fabien@symfony.com> |
| 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 ProfilePressVendor\Symfony\Component\Translation\Provider; |
| 12 | |
| 13 | use ProfilePressVendor\Symfony\Component\Translation\Exception\IncompleteDsnException; |
| 14 | use ProfilePressVendor\Symfony\Component\Translation\Exception\UnsupportedSchemeException; |
| 15 | interface ProviderFactoryInterface |
| 16 | { |
| 17 | /** |
| 18 | * @throws UnsupportedSchemeException |
| 19 | * @throws IncompleteDsnException |
| 20 | */ |
| 21 | public function create(Dsn $dsn): ProviderInterface; |
| 22 | public function supports(Dsn $dsn): bool; |
| 23 | } |
| 24 |