From 7132cf6524552b654784561a0216edff4f3e7edc Mon Sep 17 00:00:00 2001 From: Martin Ficzel Date: Fri, 27 Jan 2017 16:10:35 +0100 Subject: [PATCH] Adjust to the latest changes in Neos 3.0 --- .../FusionObjects/ComponentImplementation.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Classes/PackageFactory/AtomicFusion/FusionObjects/ComponentImplementation.php b/Classes/PackageFactory/AtomicFusion/FusionObjects/ComponentImplementation.php index cbb1849..dd4144f 100644 --- a/Classes/PackageFactory/AtomicFusion/FusionObjects/ComponentImplementation.php +++ b/Classes/PackageFactory/AtomicFusion/FusionObjects/ComponentImplementation.php @@ -43,22 +43,22 @@ class ComponentImplementation extends ArrayImplementation */ public function evaluate() { - $sortedChildFusionKeys = $this->sortNestedTypoScriptKeys(); + $sortedChildFusionKeys = $this->sortNestedFusionKeys(); $props = []; foreach ($sortedChildFusionKeys as $key) { try { - $props[$key] = $this->tsValue($key); + $props[$key] = $this->fusionValue($key); } catch (\Exception $e) { - $props[$key] = $this->tsRuntime->handleRenderingException($this->path . '/' . $key, $e); + $props[$key] = $this->runtime->handleRenderingException($this->path . '/' . $key, $e); } } - $context = $this->tsRuntime->getCurrentContext(); + $context = $this->runtime->getCurrentContext(); $context['props'] = $props; - $this->tsRuntime->pushContextArray($context); - $result = $this->tsRuntime->render($this->path . '/renderer'); - $this->tsRuntime->popContext(); + $this->runtime->pushContextArray($context); + $result = $this->runtime->render($this->path . '/renderer'); + $this->runtime->popContext(); return $result; }