Releases: OxCom/zf3-twig
Releases · OxCom/zf3-twig
PHP 7 type hint
Changes:
- Added type hinting
- Method \ZendTwig\Renderer\TwigRenderer::getZendHelpers() from now is deprecated. Please use this one: \ZendTwig\Renderer\TwigRenderer::getHelperPluginManager
Switch to Twig v2.x
Notes:
- PHP 5.6 is not supported from now
- New Twig version v2.x
Support helpers configuration
Allow developers to define configurations for the Helpers in \ZendTwig\Service\TwigHelperPluginManagerFactory
Force standalone model mode
In a ZF3 by default we have this structure:
- ViewModel with template from 'layout/layout'
- ViewModel as child with action template 'application/index/index'
In that case we should always force standalone state of child models
Deal with Twig deprecated features and prepare for new version
v0.0.4 fix resolver
Refactoried TwigReneder stategy
In this release TwigReneder strategy was refactoried to correct flow and added support for Zend Models with children
Extended tests
Small changes in structure and fix CS
First release of module
v0.0.1 fix tests