FOF30\View\Compiler\Blade::compileRegularEchos PHP Method

compileRegularEchos() protected method

Compile the "regular" echo statements.
protected compileRegularEchos ( string $value ) : string
$value string
return string
    protected function compileRegularEchos($value)
    {
        $pattern = sprintf('/(@)?%s\\s*(.+?)\\s*%s(\\r?\\n)?/s', $this->contentTags[0], $this->contentTags[1]);
        return preg_replace_callback($pattern, array($this, 'compileRegularEchosCallback'), $value);
    }