class PhpExtractor implements ExtractorInterface
PhpExtractor extracts translation messages from a php template.
Constants
| MESSAGE_TOKEN |
|
| IGNORE_TOKEN |
|
Methods
|
extract(string $directory, MessageCatalogue $catalog)
Extracts translation messages from a template directory to the catalogue. |
||
|
setPrefix(string $prefix)
Sets the prefix that should be used for new found messages. |
Details
at line 57
public
extract(string $directory, MessageCatalogue $catalog)
Extracts translation messages from a template directory to the catalogue.
at line 70
public
setPrefix(string $prefix)
Sets the prefix that should be used for new found messages.