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