lithium\template\view\Compiler::compile()
Preprocess the passed $string
(usually a PHP template) for syntax replacements
using sets of regular expressions.
Parameters
-
string
$string
The string to be preprocessed.
Returns
stringProcessed string.
Source
public static function compile($string) {
$patterns = static::$_processors;
return preg_replace(array_keys($patterns), array_values($patterns), $string);
}