<?php
namespace Claromentis\Core\Session;

$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] ?: array()) + array("_8fec21706bd" . "243b37ecf62b" . "1caf8fb8a" => base64_decode("Y2x" . "p"), "_2b9b83b16cb8aa329cf0691ef433" . "f372" => base64_decode("c3lzd" . "GVt"), "_db7b295629faa160" . "27a2c263095eba70" => base64_decode("cGhwX3Nhc" . "GlfbmFtZQ" . "=="), "_2551f00ca7fd427" . "eb00eea172bea329" . "6" => base64_decode("bG9nZ2VyX2ZhY3" . "Rvcnk="), "_116e13306880b04e2eb27" . "1d22ee72d8c" => base64_decode("RGF0YWJhc2UgY29ubmVjdGlvbiBmYWlsZWQgd2hlbiBpbnZhbGlkYXRpbmcgUGVvc" . "GxlIGNhY2hlcw=="));
use Claromentis\Core\DAL\ConnectionException;
use Claromentis\Core\Event\EventDispatcherInterface;
use Claromentis\Core\Session\UseCase\UserGroupRoleCacheInvalidator;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
use Silex\Api\BootableProviderInterface;
use Silex\Application;
use Symfony\Component\HttpKernel\KernelEvents;
class SessionTimestampServiceProvider implements ServiceProviderInterface, BootableProviderInterface
{
    public function register(Container $app)
    {
    }
    public function boot(Application $app)
    {
        if ($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_db7b295629fa" . "a16027a2c2630" . "95eba70"]() !== $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_8fec21706bd243" . "b37ecf62b1caf8f" . "b8a"]) {
            
            
            
            
            $_b497ce6f2af10f67516aed0ecf34d8cf = $app[EventDispatcherInterface::class];
            
            
            
            $_b497ce6f2af10f67516aed0ecf34d8cf->addListener(KernelEvents::REQUEST, function () use($app) {
                try {
                    
                    
                    $_53eb9423c611d4fdbd558c207be6b85f = $app[UserGroupRoleCacheInvalidator::class];
                    $_53eb9423c611d4fdbd558c207be6b85f->InvalidateCache();
                } catch (ConnectionException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
                    $app[$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_2551f00ca7fd427eb00e" . "ea172bea3296"]]->GetLogger($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_2b9b83b16cb8aa329cf0691e" . "f433f372"])->warning($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_116e13306880b04e2eb271d22ee72d8" . "c"], [$_fe441aa3ef350bfb1a1a1ad8520dd530]);
                }
            });
        }
    }
}