[TASK] Implement CompileableInterface for SwitchViewHelper 70/39170/4
authorChristian Müller <christian@kitsunet.de>
Fri, 1 May 2015 18:54:26 +0000 (20:54 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 2 May 2015 10:49:05 +0000 (12:49 +0200)
commit7bb4dbd16700a2dddc33172f91fd7ac05ccf56a4
tree238782e02473d0b7667db42c38dac0b2d8b6f97b
parent374c595cab5d19f69b559ef494a9b54d6a527d3c
[TASK] Implement CompileableInterface for SwitchViewHelper

Allows the SwitchViewHelper to be compiled into cached templates.
Until now using the SwitchViewHelper would result in the template
not being compiled at all. With this change that is no longer the
case.

Releases: master
Resolves: #66718
Change-Id: I5c34c1f770ec73c0296054905b65301af9de7c1b
Reviewed-on: http://review.typo3.org/39170
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/fluid/Classes/ViewHelpers/CaseViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/SwitchViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/CaseViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/SwitchViewHelperTest.php