Catalyst::View::Template::Lace::Factory - Adapt Template::Lace for Catalyst
TBD
This is a subclass of Template::Lace::Factory which does ACCEPT_CONTEXT so that we can adapt the creation of templates to Catalyst. Any arguments passed to the view method are sent to create. We also capture the context object and send it as ctx as an argument, that way your templates get access to context via the ctx attributes (see Catalyst::View::Template::Lace.)
ACCEPT_CONTEXT
view
create
ctx
Otherwise there's no real user useful bits here beyond education.
John Napiorkowski email:jjnapiork@cpan.org
Template::Lace, Catalyst::View::Template::Lace
Copyright 2017, John Napiorkowski email:jjnapiork@cpan.org
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::View::Template::Lace, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::View::Template::Lace
CPAN shell
perl -MCPAN -e shell install Catalyst::View::Template::Lace
For more information on module installation, please visit the detailed CPAN module installation guide.