redirectIfUnlogged(); $pageController = new Page(); $this->response = new \Views\Frontend(); $this->response->data = $pageController->getPageParams(); } public function getList(): array { $apiKey = $this->getCurrentOperatorApiKeyId(); return $apiKey ? (new Data())->getList($apiKey) : []; } public function getNumberOfNotReviewedUsers(bool $useCache = true, bool $overall = false): array { $apiKey = $this->getCurrentOperatorApiKeyId(); return $apiKey ? (new Data())->getNumberOfNotReviewedUsers($apiKey, $useCache, $overall) : []; } }