You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
457 B
PHP
17 lines
457 B
PHP
<?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);
|
|
$this->app->bind(UrlGeneratorInterface::class, UrlGenerator::class);
|
|
}
|
|
}
|