tokenID_basePrefix . ':' . $index); } /** * @param string $parserKey The softref parser key. * @param array $parameters Parameters of the softlink parser. Basically this is the content inside optional []-brackets after the softref keys. Parameters are exploded by "; */ public function setParserKey(string $parserKey, array $parameters): void { $this->parserKey = $parserKey; $this->parameters = $parameters; } public function getParserKey(): string { return $this->parserKey; } protected function setTokenIdBasePrefix(string $table, string $uid, string $field, string $structurePath): void { $this->tokenID_basePrefix = implode(':', [$table, $uid, $field, $structurePath, $this->getParserKey()]); } }