blob: c6488118cc5ac14cf8db10c34d216e1eace7768c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
namespace Engelsystem\Middleware;
use Engelsystem\Container\ServiceProvider;
class RequestHandlerServiceProvider extends ServiceProvider
{
public function register()
{
/** @var RequestHandler $requestHandler */
$requestHandler = $this->app->make(RequestHandler::class);
$this->app->instance('request.handler', $requestHandler);
$this->app->bind(RequestHandler::class, 'request.handler');
}
}
|