You are here

public function ExtractorInterface::setPrefix in Plug 7

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

Parameters

string $prefix The prefix:

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

File

lib/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);