Chris@14: Chris@14: * Chris@14: * For the full copyright and license information, please view the LICENSE Chris@14: * file that was distributed with this source code. Chris@14: */ Chris@14: Chris@14: namespace Symfony\Component\Translation\Reader; Chris@14: Chris@14: use Symfony\Component\Translation\MessageCatalogue; Chris@14: Chris@14: /** Chris@14: * TranslationReader reads translation messages from translation files. Chris@14: * Chris@14: * @author Tobias Nyholm Chris@14: */ Chris@14: interface TranslationReaderInterface Chris@14: { Chris@14: /** Chris@14: * Reads translation messages from a directory to the catalogue. Chris@14: * Chris@14: * @param string $directory Chris@14: * @param MessageCatalogue $catalogue Chris@14: */ Chris@14: public function read($directory, MessageCatalogue $catalogue); Chris@14: }