summaryrefslogtreecommitdiff
path: root/src/Http/RequestServiceProvider.php
blob: 077e9ecc9a738d81f1a6c30ab18bb7a139bfcf40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

namespace Engelsystem\Http;

use Engelsystem\Container\ServiceProvider;

class RequestServiceProvider extends ServiceProvider
{
    public function register()
    {
        $request = $this->app->call([Request::class, 'createFromGlobals']);
        $this->app->instance('request', $request);
    }
}