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

$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("_68d371bad294340ba07a6a2b" . "60c1566a" => base64_decode("YXBwX" . "3F1aX" . "o="), "qu" . "iz" => base64_decode("cXVpeg=" . "="), "_928c1bf4c88ce09e0a3ac6678b" . "a33ef7" => base64_decode("cXVpei5jb21tb24ubW9" . "kdWxlX25hbWU="));
use Claromentis\Core\Acl\Acl;
use Claromentis\Core\Acl\AclRepository;
use Claromentis\Core\CDN\CDNInterface;
use Claromentis\Core\Localization\Lmsg;
use Claromentis\Core\Services;
use Claromentis\Core\TextUtil\ClaText;
use Claromentis\Quiz\Repository\QuizRepository;
use Claromentis\Quiz\Search\QuizSearch;
use Claromentis\Search\Application\ApplicationInterface;




class QuizApplication implements ApplicationInterface
{
    protected $lmsg;
    protected $cdn;
    protected $cla_text;
    protected $quiz_repo;
    protected $acl_repo;
    public function __construct(Lmsg $lmsg, CDNInterface $cdn, ClaText $cla_text, QuizRepository $quiz_repo, AclRepository $_3436ad73cf80729d5a2e43d861c31e8b)
    {
        $this->lmsg = $lmsg;
        $this->cdn = $cdn;
        $this->cla_text = $cla_text;
        $this->quiz_repo = $quiz_repo;
        $this->acl_repo = $_3436ad73cf80729d5a2e43d861c31e8b;
    }
    
    
    
    
    
    
    
    
    public function GetTypes()
    {
        $cdn = $this->cdn;
        $cla_text = $this->cla_text;
        $quiz_repo = $this->quiz_repo;
        $_3436ad73cf80729d5a2e43d861c31e8b = $this->acl_repo;
        return [$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["q" . "u" . "i" . "z"] => function () use($cdn, $cla_text, $quiz_repo, $_3436ad73cf80729d5a2e43d861c31e8b) {
            return new QuizSearch($cdn, $cla_text, $quiz_repo, $_3436ad73cf80729d5a2e43d861c31e8b);
        }];
    }
    
    
    
    
    
    
    public function GetName()
    {
        return ($this->lmsg)($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_928c1bf" . "4c88ce09" . "e0a3ac66" . "78ba33ef" . "7"]);
    }
    
    
    
    
    
    
    public function GetCode()
    {
        return $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_68d371bad294340ba07a6a2b60c1566" . "a"];
    }
}