repoVariables->findVariableByKey($key); } /** * Create and init all variables. * To be used during Setup process. */ public function InitVariablesOnSetup(): void { $entityManager = $this->repoVariables->getEntityManager(); $entityManager->beginTransaction(); try { } catch (\Throwable $th) { $entityManager->rollback(); throw $th; } } private function AddConfigVariable(string $key, string $value, string $section): void { } }