Symfony\Component\Translation\Extractor\ExtractorInterface::extract
Extracts translation messages from a template directory to the catalogue.
Signature
public function extract(string
$directory,
MessageCatalogue
$catalogue )
Parameters
$directory
— string- The path to look into
$catalogue
— Symfony\Component\Translation\MessageCatalogue- The catalogue