protected function compileError($value) { $pattern = $this->createPlainMatcher('error'); return preg_replace($pattern, '$1<?php $__container->error(function($task) {$2', $value); }