Skip to content

Releases: OxCom/zf3-twig

PHP 7 type hint

27 Jan 13:27
Compare
Choose a tag to compare

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

06 Jan 11:56
Compare
Choose a tag to compare

Notes:

  • PHP 5.6 is not supported from now
  • New Twig version v2.x

Support helpers configuration

14 Dec 10:09
Compare
Choose a tag to compare

Allow developers to define configurations for the Helpers in \ZendTwig\Service\TwigHelperPluginManagerFactory

Force standalone model mode

02 Dec 23:53
Compare
Choose a tag to compare

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

30 Nov 00:01
Compare
Choose a tag to compare

Refactoried TwigReneder stategy

18 Nov 10:09
Compare
Choose a tag to compare

In this release TwigReneder strategy was refactoried to correct flow and added support for Zend Models with children

Extended tests

09 Nov 08:20
Compare
Choose a tag to compare

Small changes in structure and fix CS

First release of module

04 Nov 15:57
Compare
Choose a tag to compare
v0.0.1

fix tests