MediaWiki REL1_31
Replacer Class Reference

Base class for "replacers", objects used in preg_replace_callback() and StringUtils::delimiterReplaceCallback() More...

Inheritance diagram for Replacer:

Public Member Functions

 cb ()
 
 replace (array $matches)
 

Detailed Description

Base class for "replacers", objects used in preg_replace_callback() and StringUtils::delimiterReplaceCallback()

Definition at line 25 of file Replacer.php.

Member Function Documentation

◆ cb()

Replacer::cb ( )
Returns
array

Definition at line 29 of file Replacer.php.

◆ replace()

Replacer::replace ( array $matches)
abstract
Parameters
array$matches
Returns
string

Reimplemented in DoubleReplacer, HashtableReplacer, and RegexlikeReplacer.


The documentation for this class was generated from the following file: