public function ExtractorInterface::extract in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Extractor/ExtractorInterface.php \Symfony\Component\Translation\Extractor\ExtractorInterface::extract()
Extracts translation messages from files, a file or a directory to the catalogue.
Parameters
string|array $resource files, a file or a directory:
MessageCatalogue $catalogue The catalogue:
1 method overrides ExtractorInterface::extract()
- ChainExtractor::extract in vendor/
symfony/ translation/ Extractor/ ChainExtractor.php - Extracts translation messages from files, a file or a directory to the catalogue.
File
- vendor/
symfony/ translation/ Extractor/ ExtractorInterface.php, line 30
Class
- ExtractorInterface
- Extracts translation messages from a directory or files to the catalogue. New found messages are injected to the catalogue using the prefix.
Namespace
Symfony\Component\Translation\ExtractorCode
public function extract($resource, MessageCatalogue $catalogue);