public function register() { $this->app->singleton('Inspector', function () { return new Inspector(); }); }