Update to Drupal 8.0-dev-2015-11-17. Commits through da81cd220, Tue Nov 17 15:53:49 2015 +0000, Issue #2617224 by Wim Leers: Move around/fix some documentation.
This commit is contained in:
parent
4afb23bbd3
commit
7784f4c23d
929 changed files with 19798 additions and 5304 deletions
22
vendor/symfony/translation/Translator.php
vendored
22
vendor/symfony/translation/Translator.php
vendored
|
@ -21,8 +21,6 @@ use Symfony\Component\Config\ConfigCacheFactory;
|
|||
* Translator.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
class Translator implements TranslatorInterface, TranslatorBagInterface
|
||||
{
|
||||
|
@ -80,8 +78,6 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
|
|||
* @param bool $debug Use cache in debug mode ?
|
||||
*
|
||||
* @throws \InvalidArgumentException If a locale contains invalid characters
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function __construct($locale, MessageSelector $selector = null, $cacheDir = null, $debug = false)
|
||||
{
|
||||
|
@ -106,8 +102,6 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
|
|||
*
|
||||
* @param string $format The name of the loader (@see addResource())
|
||||
* @param LoaderInterface $loader A LoaderInterface instance
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function addLoader($format, LoaderInterface $loader)
|
||||
{
|
||||
|
@ -123,8 +117,6 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
|
|||
* @param string $domain The domain
|
||||
*
|
||||
* @throws \InvalidArgumentException If the locale contains invalid characters
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function addResource($format, $resource, $locale, $domain = null)
|
||||
{
|
||||
|
@ -145,8 +137,6 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
|
|||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function setLocale($locale)
|
||||
{
|
||||
|
@ -156,8 +146,6 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
|
|||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getLocale()
|
||||
{
|
||||
|
@ -172,8 +160,6 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
|
|||
* @throws \InvalidArgumentException If a locale contains invalid characters
|
||||
*
|
||||
* @deprecated since version 2.3, to be removed in 3.0. Use setFallbackLocales() instead.
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function setFallbackLocale($locales)
|
||||
{
|
||||
|
@ -188,8 +174,6 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
|
|||
* @param array $locales The fallback locales
|
||||
*
|
||||
* @throws \InvalidArgumentException If a locale contains invalid characters
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function setFallbackLocales(array $locales)
|
||||
{
|
||||
|
@ -207,8 +191,6 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
|
|||
* Gets the fallback locales.
|
||||
*
|
||||
* @return array $locales The fallback locales
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getFallbackLocales()
|
||||
{
|
||||
|
@ -217,8 +199,6 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
|
|||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function trans($id, array $parameters = array(), $domain = null, $locale = null)
|
||||
{
|
||||
|
@ -231,8 +211,6 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
|
|||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null)
|
||||
{
|
||||
|
|
Reference in a new issue