<?php
namespace Claromentis\Core\Psr7Bridge;

$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] ?: array()) + array("_70d22835d5620f018b57" . "a51a82e1e52f" => base64_decode("cHNyNy5yZXNwb25zZV9jb252ZX" . "J0ZXI="), "_d58d9d2" . "9845f0d3" . "d62e53f8" . "e87260f3" . "9" => base64_decode("cHNyNy5wc3JfZ" . "mFjdG9yeQ=="), "_4dab24faaf4729f0f97125fd1e5ca" . "24a" => base64_decode("cHNyNy5" . "zeW1mb2" . "55X2ZhY" . "3Rvcnk="));
use Pimple\Container;
use Pimple\ServiceProviderInterface;
use Silex\Api\EventListenerProviderInterface;
use Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory;
use Symfony\Bridge\PsrHttpMessage\Factory\PsrHttpFactory;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Laminas\Diactoros;





class Psr7BridgeServiceProvider implements ServiceProviderInterface, EventListenerProviderInterface
{
    
    
    
    
    
    
    
    
    
    public function register(Container $app)
    {
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_d58d9d29845f0" . "d3d62e53f8e872" . "60f39"]] = function () {
            return new PsrHttpFactory(new Diactoros\ServerRequestFactory(), new Diactoros\StreamFactory(), new Diactoros\UploadedFileFactory(), new Diactoros\ResponseFactory());
        };
        $app[$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_4dab24fa" . "af4729f0f" . "97125fd1e" . "5ca24a"]] = function () {
            return new HttpFoundationFactory();
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_70d22835d56" . "20f018b57a51" . "a82e1e52f"]] = function ($app) {
            return new ResponseConverter($app[$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_4dab24fa" . "af4729f0f" . "97125fd1e" . "5ca24a"]]);
        };
    }
    public function subscribe(Container $app, EventDispatcherInterface $dispatcher)
    {
        $dispatcher->addSubscriber($app[$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_70d22835d5" . "620f018b57a" . "51a82e1e52f"]]);
    }
}