public function get($path) { if (substr($path, 0, 8) == 'extconf/') { $value = $this->extConfiguration[substr($path, 8)]; } else { $value = $this->getFromConfiguration($path); } return $value; }
/** * Initializes the instance. * * @throws \Exception */ protected function initialize() { $this->initializeConfiguration(); $this->emptySegmentValue = $this->configuration->get('init/emptySegmentValue'); $this->rootPageId = (int) $this->configuration->get('pagePath/rootpage_id'); $this->utility = GeneralUtility::makeInstance('DmitryDulepov\\Realurl\\Utility', $this->configuration); $this->cache = $this->utility->getCache(); $this->separatorCharacter = $this->configuration->get('pagePath/spaceCharacter'); }