Airship\Engine\Lens::unsafeRender PHP Method

unsafeRender() public method

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
return string
    public function unsafeRender(string $file, array $params = [])
    {
        return $this->twigEnv->render($file, $params);
    }