Airship\Engine\Lens::unsafeRender PHP 메소드

unsafeRender() 공개 메소드

Render a template and print out its contents without sanity checks.
public unsafeRender ( string $file, array $params = [] ) : string
$file string Template to render (e.g. 'index' or 'dir/index')
$params array Parameters to pass towards the array
리턴 string
    public function unsafeRender(string $file, array $params = [])
    {
        return $this->twigEnv->render($file, $params);
    }