public function renderString($template, array $data = [])
    {
        return $this->executePlainRendering(
            trim($this->compiler->compile($template)),
            array_merge($data, ['__tintin' => $this])
        );
    }
public function renderString($template, array $data = [])
    {
        return $this->executePlainRendering(
            trim($this->compiler->compile($template)),
            array_merge($data, ['__tintin' => $this])
        );
    }
public function renderString ( $ template , array $ data = [ ] ) { return $ this -> executePlainRendering ( trim ( $ this -> compiler -> compile ( $ template ) ) , array_merge ( $ data , [ '__tintin' => $ this ] ) ) ; }
Compile simple template code

@param string $template
@param array $data

@return string
Compile simple template code