protected compileUnless ( string $value ) : string | ||
$value | string | |
return | string |
protected function compileUnless($value)
{
$pattern = $this->createMatcher('unless');
return preg_replace($pattern, '$1<?php if ( !$2): ?>', $value);
}