You are here

public function MessageCatalogueInterface::addResource in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/MessageCatalogueInterface.php \Symfony\Component\Translation\MessageCatalogueInterface::addResource()

Adds a resource for this collection.

Parameters

ResourceInterface $resource A resource instance:

1 method overrides MessageCatalogueInterface::addResource()
MessageCatalogue::addResource in vendor/symfony/translation/MessageCatalogue.php
Adds a resource for this collection.

File

vendor/symfony/translation/MessageCatalogueInterface.php, line 141

Class

MessageCatalogueInterface
MessageCatalogueInterface.

Namespace

Symfony\Component\Translation

Code

public function addResource(ResourceInterface $resource);