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