<?php
namespace Claromentis\Core\Event;

$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] ?: array()) + array("_ae76ef27ae5b48757f71a2027" . "18b5e5e" => base64_decode("Y2FsbF91c2VyX2" . "Z1bmNfYXJyYXk="), "_5e30c4717ced36cff9e93e19a5c57" . "6cc" => base64_decode("aXNfc3R" . "yaW5n"));
use Pimple\Container;
use Symfony\Component\EventDispatcher\EventDispatcherInterface as BaseEventDispatcherInterface;















class LazyResolver
{
    protected $events_list;
    protected $container;
    protected $service_name;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function __construct(Container $app, $service_name, $_0e556da531c586bbe7e57a92634addf5)
    {
        $this->container = $app;
        $this->events_list = $_0e556da531c586bbe7e57a92634addf5;
        $this->service_name = $service_name;
    }
    
    
    
    
    
    
    public function subscribe(BaseEventDispatcherInterface $_b497ce6f2af10f67516aed0ecf34d8cf)
    {
        
        
        foreach ($this->events_list as $_2cf093f28f4c7e718a5e8af628894c7b => $_4c4d12d3e4f6cac68e3eecffe9887915) {
            if ($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_5e30c4717ced3" . "6cff9e93e19a5c" . "576cc"]($_4c4d12d3e4f6cac68e3eecffe9887915)) {
                $_b497ce6f2af10f67516aed0ecf34d8cf->addListener($_2cf093f28f4c7e718a5e8af628894c7b, array($this, $_4c4d12d3e4f6cac68e3eecffe9887915));
            } elseif ($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_5e30c47" . "17ced36c" . "ff9e93e1" . "9a5c576c" . "c"]($_4c4d12d3e4f6cac68e3eecffe9887915[0])) {
                $_b497ce6f2af10f67516aed0ecf34d8cf->addListener($_2cf093f28f4c7e718a5e8af628894c7b, array($this, $_4c4d12d3e4f6cac68e3eecffe9887915[0]), isset($_4c4d12d3e4f6cac68e3eecffe9887915[1]) ? $_4c4d12d3e4f6cac68e3eecffe9887915[1] : 0);
            } else {
                foreach ($_4c4d12d3e4f6cac68e3eecffe9887915 as $_c44578bb3769209a3b3733819fd02602) {
                    $_b497ce6f2af10f67516aed0ecf34d8cf->addListener($_2cf093f28f4c7e718a5e8af628894c7b, array($this, $_c44578bb3769209a3b3733819fd02602[0]), isset($_c44578bb3769209a3b3733819fd02602[1]) ? $_c44578bb3769209a3b3733819fd02602[1] : 0);
                }
            }
        }
        unset($this->events_list);
        
        
    }
    public function __call($_dfd42320291c688f32c87c7179a5604e, $arguments)
    {
        $_4d348406673ac4fa7aebc6394e363899 = $this->container[$this->service_name];
        return $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_ae76ef27ae5" . "b48757f71a20" . "2718b5e5e"]([$_4d348406673ac4fa7aebc6394e363899, $_dfd42320291c688f32c87c7179a5604e], $arguments);
    }
}