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