protected compileAfter ( string $value ) : string | ||
$value | string | |
return | string |
protected function compileAfter($value)
{
$pattern = $this->createPlainMatcher('after');
return preg_replace($pattern, '$1<?php $_vars = get_defined_vars(); $__container->after(function($task) use ($_vars) { extract($_vars); $2', $value);
}