comparison vendor/symfony/translation/MessageCatalogue.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
13 13
14 use Symfony\Component\Config\Resource\ResourceInterface; 14 use Symfony\Component\Config\Resource\ResourceInterface;
15 use Symfony\Component\Translation\Exception\LogicException; 15 use Symfony\Component\Translation\Exception\LogicException;
16 16
17 /** 17 /**
18 * MessageCatalogue.
19 *
20 * @author Fabien Potencier <fabien@symfony.com> 18 * @author Fabien Potencier <fabien@symfony.com>
21 */ 19 */
22 class MessageCatalogue implements MessageCatalogueInterface, MetadataAwareInterface 20 class MessageCatalogue implements MessageCatalogueInterface, MetadataAwareInterface
23 { 21 {
24 private $messages = array(); 22 private $messages = array();
27 private $locale; 25 private $locale;
28 private $fallbackCatalogue; 26 private $fallbackCatalogue;
29 private $parent; 27 private $parent;
30 28
31 /** 29 /**
32 * Constructor.
33 *
34 * @param string $locale The locale 30 * @param string $locale The locale
35 * @param array $messages An array of messages classified by domain 31 * @param array $messages An array of messages classified by domain
36 */ 32 */
37 public function __construct($locale, array $messages = array()) 33 public function __construct($locale, array $messages = array())
38 { 34 {