public function __construct(SettingRepository $settingRepository)
 {
     $this->settingRepository = $settingRepository;
     $this->publicKey = $this->settingRepository->getSolveMediaChallengeKey();
     $this->privateKey = $this->settingRepository->getSolveMediaVerificationKey();
     $this->hashKey = $this->settingRepository->getSolveMediaAuthenticationKey();
     $this->useSSL = false;
 }
 private function getView()
 {
     return array('version' => $this->settingRepository->getVersion(), 'api_key' => $this->settingRepository->getApiKey(), 'name' => $this->settingRepository->getName(), 'description' => $this->settingRepository->getDescription(), 'current_theme' => $this->settingRepository->getTheme(), 'captcha_provider' => $this->settingRepository->getCaptchaProvider(), 'solve_media' => array('challenge_key' => $this->settingRepository->getSolveMediaChallengeKey(), 'verification_key' => $this->settingRepository->getSolveMediaVerificationKey(), 'authentication_key' => $this->settingRepository->getSolveMediaAuthenticationKey()), 'recaptcha' => array('public_key' => $this->settingRepository->getRecaptchaPublicKey(), 'private_key' => $this->settingRepository->getRecaptchaPrivateKey()), 'funcaptcha' => array('public_key' => $this->settingRepository->getFuncaptchaPublicKey(), 'private_key' => $this->settingRepository->getFuncaptchaPrivateKey()), 'waiting_interval' => $this->settingRepository->getWaitingInterval(), 'rewards' => $this->settingRepository->getRewards(), 'referral_percentage' => $this->settingRepository->getReferralPercentage(), 'css' => $this->settingRepository->getCss(), 'header_box' => $this->settingRepository->getHeaderBox(), 'left_box' => $this->settingRepository->getLeftBox(), 'right_box' => $this->settingRepository->getRightBox(), 'center1_box' => $this->settingRepository->getCenter1Box(), 'center2_box' => $this->settingRepository->getCenter2Box(), 'center3_box' => $this->settingRepository->getCenter3Box(), 'footer_box' => $this->settingRepository->getFooterBox());
 }