/** * @return ViewModel */ public function indexAction() { $view = new ViewModel([ 'timezone' => $this->list->getTimezoneList(), 'currency' => $this->list->getCurrencyList(), 'language' => $this->list->getLocaleList(), 'isSampledataEnabled' => $this->sampleData->isDeployed(), 'isSampleDataInstalled' => $this->sampleData->isInstalledSuccessfully(), 'isSampleDataErrorInstallation' => $this->sampleData->isInstallationError() ]); $view->setTerminal(true); return $view; }