<?php
namespace Claromentis\Quiz\Search\Application;

$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] ?: array()) + array("su" . "rv" . "ey" => base64_decode("c3VydmV" . "5"), "_8bcb6cd2d" . "ea4891636e" . "3db3c9fe5d" . "750" => base64_decode("YXBwX3BvbGx" . "fc3VydmV5"), "_383eb6a52ac8" . "79d52bae89b6e" . "0d6e944" => base64_decode("cXVpei5wb2xsLmNvbW1vbi5tb2R1bGV" . "fbmFtZQ=="), "_b3ee1ca1d7e4bff63ae77796848" . "3325d" => base64_decode("cG" . "9s" . "bA" . "=="));
use Claromentis\Core\Acl\AclRepository;
use Claromentis\Core\CDN\CDNInterface;
use Claromentis\Core\Localization\Lmsg;
use Claromentis\Core\TextUtil\ClaText;
use Claromentis\Quiz\Facade\PollFacade;
use Claromentis\Quiz\Permissions\SurveyAdminPermissions;
use Claromentis\Quiz\Repository\PollRepository;
use Claromentis\Quiz\Repository\SurveyRepository;
use Claromentis\Quiz\Search\PollSearch;
use Claromentis\Quiz\Search\SurveySearch;
use Claromentis\Search\Application\ApplicationInterface;




class PollsSurveysApplication implements ApplicationInterface
{
    protected $lmsg;
    protected $cdn;
    protected $cla_text;
    protected $poll_repo;
    protected $survey_repo;
    protected $acl_repo;
    protected $survey_admin_permissions;
    protected $poll_facade;
    public function __construct(Lmsg $lmsg, CDNInterface $cdn, ClaText $cla_text, PollRepository $poll_repo, SurveyRepository $survey_repo, AclRepository $_3436ad73cf80729d5a2e43d861c31e8b, SurveyAdminPermissions $survey_admin_permissions, PollFacade $poll_facade)
    {
        $this->lmsg = $lmsg;
        $this->cdn = $cdn;
        $this->cla_text = $cla_text;
        $this->poll_repo = $poll_repo;
        $this->survey_repo = $survey_repo;
        $this->acl_repo = $_3436ad73cf80729d5a2e43d861c31e8b;
        $this->survey_admin_permissions = $survey_admin_permissions;
        $this->poll_facade = $poll_facade;
    }
    
    
    
    
    
    
    
    
    public function GetTypes()
    {
        $cdn = $this->cdn;
        $cla_text = $this->cla_text;
        $poll_repo = $this->poll_repo;
        $survey_repo = $this->survey_repo;
        $_3436ad73cf80729d5a2e43d861c31e8b = $this->acl_repo;
        $survey_admin_permissions = $this->survey_admin_permissions;
        $poll_facade = $this->poll_facade;
        return [$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_b3ee1ca1d7e4bff63ae7779684" . "83325d"] => function () use($cdn, $cla_text, $poll_repo, $survey_admin_permissions, $poll_facade) {
            return new PollSearch($cdn, $cla_text, $poll_repo, $survey_admin_permissions, $poll_facade);
        }, $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["surv" . "ey"] => function () use($cdn, $cla_text, $survey_repo, $survey_admin_permissions) {
            return new SurveySearch($cdn, $cla_text, $survey_repo, $survey_admin_permissions);
        }];
    }
    
    
    
    
    
    
    public function GetName()
    {
        return ($this->lmsg)($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_383eb6a52" . "ac879d52ba" . "e89b6e0d6e" . "944"]);
    }
    
    
    
    
    
    
    public function GetCode()
    {
        return $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_8bcb6cd2dea48" . "91636e3db3c9fe" . "5d750"];
    }
}