/** * Enable the install tool * * @param string $installToolEnableToken * @throws \RuntimeException */ public function enableInstallToolAction($installToolEnableToken) { if (!$this->formProtection->validateToken($installToolEnableToken, 'installTool')) { throw new \RuntimeException('Given form token was not valid', 1369161225); } $this->enableFileService->createInstallToolEnableFile(); $this->forward('index'); }