<?php
namespace Claromentis\Communication\Search;

$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"] ?: array()) + array("_12ce3cd181dc7876f8255553b270" . "db40" => base64_decode("Y29tbW9uLmhlYWR" . "lci5jb21tdW5pY2" . "F0aW9u"), "_13e2e60ab52c93cf1030d2e73f" . "d4cfed" => base64_decode("Y29tbX" . "NfbWVz" . "c2FnZQ" . "=="), "_ae9f18720d32782e4012" . "3fe63b815263" => base64_decode("YXBw" . "X2Nv" . "bW1z"));
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\Application\CacheableInterface;
use Claromentis\Search\ItemType;
class CommunicationApplication implements ApplicationInterface, CacheableInterface
{
    
    
    
    
    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["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_13e2e60ab" . "52c93cf103" . "0d2e73fd4c" . "fed"] => function () {
            return new ItemType\CommunicationMessage($this->db, $this->http_util, $this->user_repo);
        }];
    }
    public function GetName()
    {
        return ($this->lmsg)($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_12ce3cd181dc787" . "6f8255553b270db4" . "0"]);
    }
    public function GetCode()
    {
        return $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_ae9f18720d32782e401" . "23fe63b815263"];
    }
    public function getCacheableTypes() : array
    {
        return [$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_13e2e60ab52c93cf1030d2e" . "73fd4cfed"]];
    }
}