<?php
namespace Claromentis\Communication\Search;

$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"] ?: array()) + array("_12ce3cd181dc7876f82" . "55553b270db40" => base64_decode("Y29tbW9uLmhlYWRlci5jb21tdW5pY2F0aW" . "9u"), "_13e2e60ab52" . "c93cf1030d2e" . "73fd4cfed" => base64_decode("Y29tbXNfbWVzc2FnZQ=" . "="), "_ae9f18720d32782e40123fe63b81" . "5263" => base64_decode("YXBwX2Nvb" . "W1z"));
use Claromentis\Core\DAL\Interfaces\DbInterface;
use Claromentis\Core\Http\HttpUtil;
use Claromentis\Core\Localization\Lmsg;
use Claromentis\People\Repository\UserRepository;
use Claromentis\Search\Application\ApplicationInterface;
use Claromentis\Search\ItemType;
class CommunicationApplication implements ApplicationInterface
{
    
    
    
    
    protected $lmsg;
    
    
    
    
    protected $db;
    
    
    
    
    protected $http_util;
    
    
    
    
    protected $user_repo;
    public function __construct(Lmsg $lmsg, DbInterface $db, HttpUtil $_019f644d80568a97cf247afb364302a5, UserRepository $user_repo)
    {
        $this->lmsg = $lmsg;
        $this->db = $db;
        $this->http_util = $_019f644d80568a97cf247afb364302a5;
        $this->user_repo = $user_repo;
    }
    public function GetTypes()
    {
        return [$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_13e2e60ab52c93cf1" . "030d2e73fd4cfed"] => function () {
            return new ItemType\CommunicationMessage($this->db, $this->http_util, $this->user_repo);
        }];
    }
    public function GetName()
    {
        return ($this->lmsg)($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_12ce3cd181dc7876f" . "8255553b270db40"]);
    }
    public function GetCode()
    {
        return $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_ae9f18720d32782e40123fe6" . "3b815263"];
    }
}