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

namespace Engelsystem\Http;

use Engelsystem\Container\ServiceProvider;

class UrlGeneratorServiceProvider extends ServiceProvider
{
    public function register()
    {
        $urlGenerator = $this->app->make(UrlGenerator::class);
        $this->app->instance(UrlGenerator::class, $urlGenerator);
        $this->app->instance('http.urlGenerator', $urlGenerator);
    }
}