public function register() { $this->app->singleton(Ekko::class, function ($app) { return new Ekko($app['router'], $app['url']); }); }