Renamed RoutingServiceProvider to Http\UrlGeneratorServiceProvider
parent
b0e7bc0df2
commit
73c9d923e7
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Engelsystem\Routing;
|
namespace Engelsystem\Http;
|
||||||
|
|
||||||
class UrlGenerator
|
class UrlGenerator
|
||||||
{
|
{
|
@ -1,14 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Engelsystem\Routing;
|
namespace Engelsystem\Http;
|
||||||
|
|
||||||
use Engelsystem\Container\ServiceProvider;
|
use Engelsystem\Container\ServiceProvider;
|
||||||
|
|
||||||
class RoutingServiceProvider extends ServiceProvider
|
class UrlGeneratorServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
public function register()
|
public function register()
|
||||||
{
|
{
|
||||||
$urlGenerator = $this->app->make(UrlGenerator::class);
|
$urlGenerator = $this->app->make(UrlGenerator::class);
|
||||||
$this->app->instance('routing.urlGenerator', $urlGenerator);
|
$this->app->instance('http.urlGenerator', $urlGenerator);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue