PhpExtractor
class PhpExtractor extends AbstractFileExtractor implements ExtractorInterface
PhpExtractor extracts translation messages from a PHP template.
Constants
MESSAGE_TOKEN |
|
Methods
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.
Details
at line line 58
extract(string|array $resource, MessageCatalogue $catalog)
Extracts translation messages from files, a file or a directory to the catalogue.
at line line 69
setPrefix(string $prefix)
Sets the prefix that should be used for new found messages.