<?php
namespace Claromentis\Core\ORM;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("_b2ed704ac3f86a81" . "60456dd14c443280" => base64_decode("c3lzX2dldF90ZW" . "1wX2Rpcg=="), "_87daa84e346f6420a3f" . "3426e05d16a7b" => base64_decode("L" . "w" . "=" . "="), "d" . "b" => base64_decode("Z" . "G" . "I" . "="), "_6bf19ac66af25b2e2dab6b" . "d4e14c324d" => base64_decode("aXN" . "fZG" . "ly"), "_ff7f634a3990" . "6867e7750a10e" . "10f952e" => base64_decode("c3BsX2F1dG" . "9sb2FkX3Jl" . "Z2lzdGVy"), "_c61584fc3580dd88" . "e33b6fb5cfbc0325" => base64_decode("bWt" . "kaX" . "I="), "_0106fb744a39df7623a7d17f717" . "02c95" => base64_decode("cGh" . "w"), "_a676ed2e800643888272" . "61b1a435d9db" => base64_decode("YW5hbG9ndWU" . "="));
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["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_a676ed2e8006" . "4388827261b1a" . "435d9db"]] = function ($app) {
            $_a676ed2e80064388827261b1a435d9db = new Clarologue($app[$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["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 () {
            $_663361e40ead89ad1b027470f7073383 = $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_0106fb744a3" . "9df7623a7d17" . "f71702c95"] . PHP_MAJOR_VERSION . PHP_MINOR_VERSION;
            $_28b1bee8ee9c995f52151d20a1377445 = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_b2ed704ac3f86a8160456dd1" . "4c443280"]() . ($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_87daa84e346f6420a" . "3f3426e05d16a7b"] . $_663361e40ead89ad1b027470f7073383);
            if (!$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_6bf19ac66af25b2e2dab6bd4e14c324" . "d"]($_28b1bee8ee9c995f52151d20a1377445)) {
                $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_c61584fc3580dd8" . "8e33b6fb5cfbc032" . "5"]($_28b1bee8ee9c995f52151d20a1377445, 0700, true);
            }
            $_3060caa4a6a08db71105fde402aa9706 = new ProxyManager\Configuration();
            $_3060caa4a6a08db71105fde402aa9706->setProxiesTargetDir($_28b1bee8ee9c995f52151d20a1377445);
            $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_ff7f634a39906867e77" . "50a10e10f952e"]($_3060caa4a6a08db71105fde402aa9706->getProxyAutoloader());
            return $_3060caa4a6a08db71105fde402aa9706;
        };
        $app[Clarologue::class] = $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_a676ed2e80064388827261" . "b1a435d9db"];
    }
}