public function evaluate($typoScriptPath, $contextObject = null) { return $this->evaluateInternal($typoScriptPath, self::BEHAVIOR_RETURNNULL, $contextObject); }
/** * Return the TypoScript value relative to this TypoScript object (with processors etc applied). * * Note that subsequent calls of tsValue() with the same TypoScript path will return the same values since the * first evaluated value will be cached in memory. * * @param string $path * @return mixed */ protected function tsValue($path) { $fullPath = $this->path . '/' . $path; if (!isset($this->tsValueCache[$fullPath])) { $this->tsValueCache[$fullPath] = $this->tsRuntime->evaluate($fullPath, $this); } return $this->tsValueCache[$fullPath]; }