public function dyEvaluateStatementsFilter($statements, $chain) {
return $chain->dyEvaluateStatementsFilter(str_replace('foo', 'bar', $statements)); //example
}
to be executed when evaluateStatements is called. All attached behaviors are notified through
dyEvaluateStatementsFilter. The chaining is important in this function due to the filtering
pass-through effect. public evaluateStatements ( $statements ) : string | ||
Результат | string | content echoed or printed by the PHP statements |