You are here

public function MessageCatalogueInterface::addResource in Plug 7

Adds a resource for this collection.

@api

Parameters

ResourceInterface $resource A resource instance:

1 method overrides MessageCatalogueInterface::addResource()
MessageCatalogue::addResource in lib/Symfony/translation/MessageCatalogue.php
@api

File

lib/Symfony/translation/MessageCatalogueInterface.php, line 171

Class

MessageCatalogueInterface
MessageCatalogueInterface.

Namespace

Symfony\Component\Translation

Code

public function addResource(ResourceInterface $resource);