protected function compileMacroStop($value)
    {
        $pattern = $this->createPlainMatcher('endmacro');

        $value = preg_replace($pattern, '$1<?php $__container->endMacro(); ?>$2', $value);

        $pattern = $this->createPlainMatcher('endstory');

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

        $value = preg_replace($pattern, '$1<?php $__container->endMacro(); ?>$2', $value);

        $pattern = $this->createPlainMatcher('endstory');

        return preg_replace($pattern, '$1<?php $__container->endMacro(); ?>$2', $value);
    }
protected function compileMacroStop ( $ value ) { $ pattern = $ this -> createPlainMatcher ( 'endmacro' ) ; $ value = preg_replace ( $ pattern , '$1<?php $__container->endMacro(); ?>$2' , $ value ) ; $ pattern = $ this -> createPlainMatcher ( 'endstory' ) ; return preg_replace ( $ pattern , '$1<?php $__container->endMacro(); ?>$2' , $ value ) ; }
Compile Envoy macro stop statements into valid PHP.

@param  string  $value
@return string
Compile Envoy macro stop statements into valid PHP .