interface ExtractorInterface
Extracts translation messages from a template directory to the catalogue.
New found messages are injected to the catalogue using the prefix.
extract(string $directory, MessageCatalogue $catalogue) Extracts translation messages from a template directory to the catalogue. | ||
setPrefix(string $prefix) Sets the prefix that should be used for new found messages. |
Extracts translation messages from a template directory to the catalogue.
Sets the prefix that should be used for new found messages.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Translation/Extractor/ExtractorInterface.html