$this->twig =
$twig;
} /**
* @return void
*/
public function extract($resource, MessageCatalogue
$catalogue) { foreach ($this->
extractFiles($resource) as $file) { try { $this->
extractTemplate(file_get_contents($file->
getPathname()),
$catalogue);
} catch (Error
) { // ignore errors, these should be fixed by using the linter
} } } /**
* @return void
*/
public function setPrefix(string
$prefix) {