Register the service provider for foundation.

@return void
779778
protected function registerThrottlesLogins(): void
    {
        $config = $this->app->make('config')->get('orchestra/foundation::throttle', []);
        $throttles = $config['resolver'] ?? BasicThrottle::class;

        $this->app->bind(ThrottlesLogins::class, $throttles);

        BasicThrottle::setConfig($config);
    }
887940
public function register()
    {
        $this->registerConfig();

        $this->registerClassAliases();

        $this->app->register(RoutingServiceProvider::class);

        $this->app->register(HttpServiceProvider::class);

        $this->registerExceptionHandler();

        $this->registerDispatcher();

        $this->registerAuth();

        $this->registerTransformer();

        $this->registerDocsCommand();
    }
687232
protected function registerAsset(): void
    {
        $this->app->singleton('orchestra.asset', function (Application $app) {
            return new Factory($app->make('orchestra.asset.dispatcher'));
        });
    }
470498
public function register()
    {
        //Config
        $this->app->singleton(CoreConfig::class, function ($app) {
            return new CoreConfig();
        });

        //Facade
        $this->app->alias(CoreService::class, 'core-service');
    }
32854
public function register()
    {
        // Register Sub Providers
        $this->registerSubProviders(collect($this->subProviders));
        // Register bindings.
        $this->registerBindings(collect($this->bindings));
        // Register migrations.
        $this->registerMigrations(collect($this->migrations));
        // Register seeders.
        $this->registerSeeders(collect($this->seeders));
        // Register model factories.
        $this->registerFactories(collect($this->factories));
    }
61790
public function register()
    {
        $this->container->bind('config', new Repository(
            new FileLoader(
                new Filesystem,
                $this->container->appPath().'/config'
            ),
            new Resolver,
            $this->container->os()
        ));
    }
1294392
public function register()
    {
        $this->app->singleton('metabox.factory', function ($app) {
            return new MetaboxFactory($app);
        });

        $this->app->alias('metabox.factory', MetaboxFactory::class);
    }
477085
public function register()
    {
        Framework::registerPackage('framework');

        // Register 3rd party providers
        $this->app->register(WidgetServiceProvider::class);

        $this->app->register(HelloquentServiceProvider::class);
        $this->app->register(ViewServiceProvider::class);
        $this->app->register(HttpServiceProvider::class);
        $this->app->register(StatisticsServiceProvider::class);
        $this->app->register(DynatableServiceProvider::class);
    }
1188773
public function register()
    {
        $app    = parent::register();

        $app->singleton('fs', Filesystem::class);
        $this->registerStubs();
        $this->registerHelpers();
    }
600930
public function register()
    {
        $loader = \Illuminate\Foundation\AliasLoader::getInstance();

        $loader->alias('Features', \App\Facades\Features::class);

        $this->app->singleton('FeatureService', function ($app) {
            return app(\App\Services\FeatureService::class);
        });
    }
638663
public function register()
    {
        $this->app->singleton('column.factory', function ($app) {
            return new ColumnFactory($app);
        });

        $this->app->alias('column.factory', ColumnFactory::class);
    }
515913
public function register()
    {
        $this->registerFractalManager();

        /** @var \Illuminate\View\Factory $view */
        $view = $this->app['view'];
        $view->addLocation(__DIR__.'/views');

        $this->app->singleton('form', function ($app) {
            return new FormFactory(
                $app['validator'],
                $app['view'],
                $app['league.fractal'],
                new Factory()
            );
        });
    }
1307895
public function register()
    {
        $this->publishes([
            __DIR__ . '/config/setting.php' => config_path('setting.php'),
        ]);

        $this->app->bind(['setting' => 'Thetispro\Setting\Setting'],
                function($app) {
            return new Setting(
                    config('setting.path'), config('setting.filename'),
                    config('setting.fallback') ? new LaravelFallbackInterface() : null);
        }); 
    }
149391
public function register()
    {
        $this->app->singleton('shield', function (Container $app) {
            $config = $app['config']['shield.users'];

            return new Shield($config);
        });

        $this->app->alias('shield', Shield::class);
    }
664689
public function register()
    {
        $this->registerFoundation();

        $this->registerMetaContainer();

        $this->registerThrottlesLogins();

        $this->registerFacadesAliases();

        $this->registerCoreContainerAliases();

        $this->registerEventListeners();
    }
1085224
public function register()
    {
        $this->app->singleton('staf', function ($app) {
            return new Staf;
        });

        $this->app->singleton('command.staf', function ($app) {
            return new StafCommand;
        });

        $this->commands('command.staf');
    }
462538
public function register()
    {
        $this->app->singleton('payments', function (Container $app) {
            return new Factory($app);
        });
        $this->app->alias('payments', Factory::class);

        $path = dirname(__DIR__) . '/config/payments.php';

        if (is_file($path)) {
            $this->mergeConfigFrom($path, 'payments');

            $this->publishes([$path => config_path('payments.php')]);
        }

        $path = dirname(__DIR__) . '/config/config.php';

        if (is_file($path)) {
            $this->mergeConfigFrom($path, 'module.payments');

            $this->publishes([$path => config_path('module/payments.php')]);
        }

        $this->loadMigrationsFrom(__DIR__ . '/Database/Migrations');
    }