protected function registerUrlGeneratorBindings() { $this->singleton('url', function () { return new Routing\UrlGenerator($this); }); }