comparison vendor/symfony/translation/MessageCatalogueInterface.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 c2387f117808
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
102 102
103 /** 103 /**
104 * Merges translations from the given Catalogue into the current one. 104 * Merges translations from the given Catalogue into the current one.
105 * 105 *
106 * The two catalogues must have the same locale. 106 * The two catalogues must have the same locale.
107 *
108 * @param self $catalogue
109 */ 107 */
110 public function addCatalogue(MessageCatalogueInterface $catalogue); 108 public function addCatalogue(MessageCatalogueInterface $catalogue);
111 109
112 /** 110 /**
113 * Merges translations from the given Catalogue into the current one 111 * Merges translations from the given Catalogue into the current one
114 * only when the translation does not exist. 112 * only when the translation does not exist.
115 * 113 *
116 * This is used to provide default translations when they do not exist for the current locale. 114 * This is used to provide default translations when they do not exist for the current locale.
117 *
118 * @param self $catalogue
119 */ 115 */
120 public function addFallbackCatalogue(MessageCatalogueInterface $catalogue); 116 public function addFallbackCatalogue(MessageCatalogueInterface $catalogue);
121 117
122 /** 118 /**
123 * Gets the fallback catalogue. 119 * Gets the fallback catalogue.
133 */ 129 */
134 public function getResources(); 130 public function getResources();
135 131
136 /** 132 /**
137 * Adds a resource for this collection. 133 * Adds a resource for this collection.
138 *
139 * @param ResourceInterface $resource A resource instance
140 */ 134 */
141 public function addResource(ResourceInterface $resource); 135 public function addResource(ResourceInterface $resource);
142 } 136 }