public function MessageCatalogue::addResource in Plug 7
@api
Overrides MessageCatalogueInterface::addResource
2 calls to MessageCatalogue::addResource()
- MessageCatalogue::addCatalogue in lib/
Symfony/ translation/ MessageCatalogue.php - @api
- MessageCatalogue::addFallbackCatalogue in lib/
Symfony/ translation/ MessageCatalogue.php - @api
File
- lib/
Symfony/ translation/ MessageCatalogue.php, line 233
Class
- MessageCatalogue
- MessageCatalogue.
Namespace
Symfony\Component\TranslationCode
public function addResource(ResourceInterface $resource) {
$this->resources[$resource
->__toString()] = $resource;
}