You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If would be nice if \Phalcon\Mvc\View\Engine\Volt could accept a Compiler in the constructor. This would be helpful when using the CLI interface to precompile every Volt view. As it currently stands it doesn't appear that I can use the Volt Compiler in a DI container and so I need to require() Volt configuration code in each place that I want to use the compiler.
The text was updated successfully, but these errors were encountered:
phalcon
changed the title
[NFR] Allow \Phalcon\Mvc\View\Engine\Volt to accept Phalcon\Mvc\View\Engine\Volt\Compiler in the constructor
[NFR] Allow \Phalcon\Mvc\View\Engine\Volt to accept Phalcon\Mvc\View\Engine\Volt\Compiler in the constructor
Sep 10, 2014
If would be nice if \Phalcon\Mvc\View\Engine\Volt could accept a Compiler in the constructor. This would be helpful when using the CLI interface to precompile every Volt view. As it currently stands it doesn't appear that I can use the Volt Compiler in a DI container and so I need to require() Volt configuration code in each place that I want to use the compiler.
Examples of what I need to currently do:
Web:
CLI:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: