[CLEANUP] Reduce cache gets in MarkerBasedTemplateService 74/52974/2
authorClaus Due <claus@namelesscoder.net>
Tue, 30 May 2017 22:42:10 +0000 (00:42 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 31 May 2017 19:43:57 +0000 (21:43 +0200)
commit20cea2bdab4090f498d1debd7c093baeb4143c96
tree014a9d0e043ef1d4d865c691dbd246e79e5f272d
parente3abb72e38e35081581202bcda8785cd813174b7
[CLEANUP] Reduce cache gets in MarkerBasedTemplateService

Multiple calls to get() from cache can be condensed to one.

Change-Id: I1d949fcbc0c91afdbfb2d0e2bc3d9c1b4dfd475a
Resolves: #81385
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/52974
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Service/MarkerBasedTemplateService.php