class PhpExtractor extends AbstractFileExtractor implements ExtractorInterface
PhpExtractor extracts translation messages from a PHP template.
MESSAGE_TOKEN |
extract(string|array $resource, MessageCatalogue $catalog) Extracts translation messages from files, a file or a directory to the catalogue. | ||
setPrefix(string $prefix) Sets the prefix that should be used for new found messages. |
Extracts translation messages from files, a file or a 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.8/Symfony/Bundle/FrameworkBundle/Translation/PhpExtractor.html