lithium\template\view\Compiler::$_processors

protected static property

The list of syntax replacements to apply to compiled templates.

Key/value pairs of regular expressions. The keys are the regexes, and the values are the resulting expressions along with any capture groups that may have been used in the corresponding regexes.

Source

	protected static $_processors = [
		'/\<\?=\s*\$this->(.+?)\s*;?\s*\?>/msx' => '<?php echo $this->$1; ?>',
		'/\<\?=\s*(\$h\(.+?)\s*;?\s*\?>/msx' => '<?php echo $1; ?>',
		'/\<\?=\s*(.+?)\s*;?\s*\?>/msx' => '<?php echo $h($1); ?>'
	];