<?php
namespace Claromentis\Core\Application;

$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"] ?: array()) + array("_5918d244000d" . "9337a078215de" . "6452acf" => base64_decode("cmVxdWVzdF9t" . "YXRjaGVy"), "_7fd4ec8edac5cc9eb65382be52f3f" . "e2b" => base64_decode("Y29udHJvbGxlcnNfZmFjdG9ye" . "Q=="), "_77a36bb33d745c0aa41e14150" . "bc1b673" => base64_decode("cmVzb2x2" . "ZXI="), "_d859d86" . "3235d91e" . "7e9c1f55" . "e9af7e8a" . "9" => base64_decode("bWF0Y2" . "hlcl9j" . "bGFzcw" . "=="), "_6c20f4873f12c6bcce" . "d6c1dda9a06b86" => base64_decode("cm91" . "dGVz"), "_69285be1158ad91da2a1aad8" . "e6e186d2" => base64_decode("cmVxdWVzd" . "F9jb250ZX" . "h0"), "_ffd81a5" . "9ac9197c" . "6482094a" . "bf74ac3b" . "6" => base64_decode("cm91dGVfZmFjdG9yeQ" . "=="), "url" . "_ge" . "ner" . "ato" . "r" => base64_decode("dXJsX2dlbmVy" . "YXRvcg=="), "logg" . "er" => base64_decode("bG9n" . "Z2Vy"), "_0598533bd864489574632dcf3d" . "c76db5" => base64_decode("cm91dGV" . "fbG9hZG" . "Vy"), "_a8880f5534c28f961df05633f16" . "a2727" => base64_decode("YXJndW1lbnRfdmFsdWVf" . "cmVzb2x2ZXJz"));
use Claromentis\Core\Application;
use Claromentis\Core\Psr7Bridge\Psr7ArgumentResolver;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
use Silex\AppArgumentValueResolver;
use Symfony\Component\HttpKernel\Controller\ArgumentResolver\DefaultValueResolver;
use Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestAttributeValueResolver;
use Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestValueResolver;
use Symfony\Component\HttpKernel\Controller\ArgumentResolver\VariadicValueResolver;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Routing\Router;
use Symfony\Component\Routing\Generator\UrlGenerator;






class ControllerServiceProvider implements ServiceProviderInterface
{
    
    
    
    
    
    
    public function register(Container $app)
    {
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_7fd4ec8edac5cc9eb653" . "82be52f3fe2b"]] = $app->factory(function ($app) {
            return new \Claromentis\Core\ControllerCollection($app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_ffd81a59ac9197c6482094a" . "bf74ac3b6"]]);
        });
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_77a36bb33d745c0aa41e1" . "4150bc1b673"]] = function ($app) {
            return new ControllerResolver($app, $app[$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["logge" . "r"]]);
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_a8880f5534c28f961df05" . "633f16a2727"]] = function (Application $app) {
            return [new RequestAttributeValueResolver(), new Psr7ArgumentResolver($app), new RequestValueResolver(), new AppArgumentValueResolver($app), new ServiceArgumentResolver($app), new DefaultValueResolver(), new VariadicValueResolver()];
        };
        
        
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_ffd81a59ac9197c648209" . "4abf74ac3b6"]] = $app->factory(function () {
            return new \Claromentis\Core\Route();
        });
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_0598533bd86" . "4489574632dc" . "f3dc76db5"]] = ApplicationRouteLoader::class;
        $app[$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_5918d244000d9337a078215de645" . "2acf"]] = function (Application $app) {
            $options = [$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_d859d8632" . "35d91e7e9c" . "1f55e9af7e" . "8a9"] => RedirectableUrlMatcher::class];
            return new Router($app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_0598533bd864489574632dc" . "f3dc76db5"]], $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_6c20f4873f12c6bcced6c1dda9a06" . "b86"], $options, $app[$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_69285be1158ad91" . "da2a1aad8e6e186d" . "2"]]);
        };
        $app[UrlGenerator::class] = $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["url" . "_ge" . "ner" . "ato" . "r"];
        $app[UrlGeneratorInterface::class] = $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["url_genera" . "tor"];
    }
}