Skip to content

Integration with twig template engine #43

@reidsneo

Description

@reidsneo

How do I integrated PIP with twig?
I want to replace current render() view with twig render
just by calling $template = $this->loadTemplate('index.html');

instead calling
$loader = new Twig_Loader_Filesystem(ROOT_DIR .'application/views/');
$twig = new Twig_Environment($loader);
$template = $twig->loadTemplate('index.html');

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions