assets
data
dependencies
amphp
berlindb
composer
daverandom
delight-im
doctrine
guzzlehttp
hashids
ifsnop
jasny
kelunik
league
mexitek
mpdf
myclabs
nesbot
nyholm
pablo-sg-pacheco
paragonie
phpdocumentor
phpseclib
phpstan
psr
rakit
ralouphie
remotelyliving
rpnzl
scssphp
setasign
spatie
stripe
symfony
cache
cache-contracts
deprecation-contracts
event-dispatcher
event-dispatcher-contracts
polyfill-mbstring
polyfill-php73
polyfill-php80
polyfill-php81
process
service-contracts
translation
translation-contracts
Test
LocaleAwareInterface.php
TranslatableInterface.php
TranslatorInterface.php
TranslatorTrait.php
var-exporter
webmozart
woocommerce
yahnis-elsts
autoload.php
scoper-autoload.php
inc
lang
views
LICENSE
autoload.php
constants.php
loco.xml
readme.txt
sunrise.php
uninstall.php
wp-multisite-waas.php
28 lines
642 B
PHP
28 lines
642 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
namespace WP_Ultimo\Dependencies\Symfony\Contracts\Translation;
|
|
|
|
interface LocaleAwareInterface
|
|
{
|
|
/**
|
|
* Sets the current locale.
|
|
*
|
|
* @return void
|
|
*
|
|
* @throws \InvalidArgumentException If the locale contains invalid characters
|
|
*/
|
|
public function setLocale(string $locale);
|
|
/**
|
|
* Returns the current locale.
|
|
*/
|
|
public function getLocale() : string;
|
|
}
|