/**
* Construct instance of TransformationProcessor\DefinitionBased.
*
* Through the $ruleFiles array, a list of files with full text
* transformation rules is given. These files are parsed by
* {@link \eZ\Publish\Core\Persistence\TransformationProcessor\DefinitionBased\Parser}
* and then used for normalization in the full text search.
*
* @param \eZ\Publish\Core\Persistence\TransformationProcessor\DefinitionBased\Parser $parser
* @param \eZ\Publish\Core\Persistence\TransformationProcessor\PcreCompiler $compiler
* @param array $ruleFiles
*
* @return \eZ\Publish\Core\Persistence\TransformationProcessor\DefinitionBased
*/
public function __construct(Parser $parser, PcreCompiler $compiler, array $ruleFiles = array())
{
parent::__construct($compiler, $ruleFiles);
$this->parser = $parser;
}