Seditio Source
Root |
./othercms/xenForo 2.2.8/src/XF/Template/Compiler/Syntax/Str.php
<?php

namespace XF\Template\Compiler\Syntax;

use
XF\Template\Compiler;

class
Str extends AbstractSyntax
{
    public
$content = '';

    public function
__construct($content, $line)
    {
       
$this->content = $content;
       
$this->line = $line;
    }

    public function
compile(Compiler $compiler, array $context, $inlineExpected)
    {
        return
$compiler->getStringCode($this->content);
    }

    public function
isEmpty()
    {
        return (
trim($this->content) === '');
    }
}