You are here

public function ExtractorInterface::setPrefix in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Extractor/ExtractorInterface.php \Symfony\Component\Translation\Extractor\ExtractorInterface::setPrefix()

Sets the prefix that should be used for new found messages.

Parameters

string $prefix The prefix:

1 method overrides ExtractorInterface::setPrefix()
ChainExtractor::setPrefix in vendor/symfony/translation/Extractor/ChainExtractor.php
Sets the prefix that should be used for new found messages.

File

vendor/symfony/translation/Extractor/ExtractorInterface.php, line 37

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\Extractor

Code

public function setPrefix($prefix);