public compileSetupStop ( string $value ) : string | ||
$value | string | |
return | string |
public function compileSetupStop($value)
{
$value = preg_replace('/(\\s*)@endsetup(\\s*)/', '$1?>$2', $value);
return preg_replace('/(\\s*)@endphp(\\s*)/', '$1?>$2', $value);
}