<?php
namespace Claromentis\Core\ORM;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"] = (@$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] ?: array()) + array("d" . "b" => base64_decode("ZGI" . "="), "_b2ed704a" . "c3f86a816" . "0456dd14c" . "443280" => base64_decode("c3lzX2dldF" . "90ZW1wX2Rp" . "cg=="), "_a676ed2e800643888272" . "61b1a435d9db" => base64_decode("YW5h" . "bG9n" . "dWU="), "_ff7f634a39906" . "867e7750a10e10" . "f952e" => base64_decode("c3BsX2F1dG9sb2FkX3JlZ" . "2lzdGVy"));
use Analogue\ORM\Plugins\SoftDeletes\SoftDeletesPlugin;
use Analogue\ORM\Plugins\Timestamps\TimestampsPlugin;
use Claromentis\Core\Application;
use Claromentis\Core\ORM\Entity\Map\MetadataElementMap;
use Claromentis\Core\ORM\Entity\MetadataElement;
use Claromentis\Core\ORM\Plugins\Acl\AclPlugin;
use Claromentis\Core\ORM\Plugins\Search\SearchPlugin;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
use ProxyManager;




class AnalogueServiceProvider implements ServiceProviderInterface
{
    
    
    
    
    
    
    public function register(Container $app)
    {
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_a676ed2e80064388827261b1a435d" . "9db"]] = function ($app) {
            $_a676ed2e80064388827261b1a435d9db = new Clarologue($app[$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["d" . "b"]]);
            
            
            $_3060caa4a6a08db71105fde402aa9706 = $app[ProxyManager\Configuration::class];
            $_28b1bee8ee9c995f52151d20a1377445 = $_3060caa4a6a08db71105fde402aa9706->getProxiesTargetDir();
            $_a676ed2e80064388827261b1a435d9db->setProxyPath($_28b1bee8ee9c995f52151d20a1377445);
            
            
            $_a676ed2e80064388827261b1a435d9db->registerPlugin(AclPlugin::class);
            $_a676ed2e80064388827261b1a435d9db->registerPlugin(SearchPlugin::class);
            $_a676ed2e80064388827261b1a435d9db->registerPlugin(TimestampsPlugin::class);
            $_a676ed2e80064388827261b1a435d9db->registerPlugin(SoftDeletesPlugin::class);
            
            
            $_a676ed2e80064388827261b1a435d9db->register(MetadataElement::class, MetadataElementMap::class);
            return $_a676ed2e80064388827261b1a435d9db;
        };
        
        
        
        
        
        
        $app[ProxyManager\Configuration::class] = function () {
            $_28b1bee8ee9c995f52151d20a1377445 = $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_b2ed704ac3f8" . "6a8160456dd14" . "c443280"]();
            $_3060caa4a6a08db71105fde402aa9706 = new ProxyManager\Configuration();
            $_3060caa4a6a08db71105fde402aa9706->setProxiesTargetDir($_28b1bee8ee9c995f52151d20a1377445);
            $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_ff7f634a3990" . "6867e7750a10e" . "10f952e"]($_3060caa4a6a08db71105fde402aa9706->getProxyAutoloader());
            return $_3060caa4a6a08db71105fde402aa9706;
        };
        $app[Clarologue::class] = $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_a676ed2e800" . "64388827261b" . "1a435d9db"];
    }
}