<?php
namespace Claromentis\Core\Psr7Bridge;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"] ?: array()) + array("_4dab24faaf4729f0f97125" . "fd1e5ca24a" => base64_decode("cHNyNy5z" . "eW1mb255" . "X2ZhY3Rv" . "cnk="), "_70d22835d5" . "620f018b57a" . "51a82e1e52f" => base64_decode("cHNyNy5yZXNwb25zZV9jb252ZXJ0" . "ZXI="), "_d58d9d29845f0d3d62e5" . "3f8e87260f39" => base64_decode("cHNyNy5w" . "c3JfZmFj" . "dG9yeQ=="));
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["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_d58d9d29845f0d3d62e53f8e87260" . "f39"]] = function () {
            return new PsrHttpFactory(new Diactoros\ServerRequestFactory(), new Diactoros\StreamFactory(), new Diactoros\UploadedFileFactory(), new Diactoros\ResponseFactory());
        };
        $app[$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_4dab24faaf4729f0f9712" . "5fd1e5ca24a"]] = function () {
            return new HttpFoundationFactory();
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_70d22835d5620f018b5" . "7a51a82e1e52f"]] = function ($app) {
            return new ResponseConverter($app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_4dab24faaf4729f0f97125fd" . "1e5ca24a"]]);
        };
    }
    public function subscribe(Container $app, EventDispatcherInterface $_b497ce6f2af10f67516aed0ecf34d8cf)
    {
        $_b497ce6f2af10f67516aed0ecf34d8cf->addSubscriber($app[$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_70d22835" . "d5620f018" . "b57a51a82" . "e1e52f"]]);
    }
}