Register the service provider.

@return void
347453
public function register()
    {
        $this->app->singleton('hash', function ($app) {
            return new HashManager($app);
        });

        $this->app->singleton('hash.driver', function ($app) {
            return $app['hash']->driver();
        });
    }
1180233
public function register(): void
    {
        if (!$this->registered) {
            \spl_autoload_register([$this, 'load'], true, true);
            $this->registered = true;
        }
    }
327380
public function register()
    {
        parent::register();

        $this->app->booted(function (Application $app) {
            $this->registerEventListeners($app->make('events'));
        });
    }
765655
public function register()
    {
        $this->app['actions']->listen(
            'widgets_init',
            function ()
            {
                foreach ($this->widgets as $widget)
                {
                    if (class_exists($widget))
                    {
                        register_widget($widget);
                    }
                }
            }
        );
    }
340848
public function register()
    {
        $this->registerPublisher();

        $this->registerRoleEloquent();

        $this->registerComponentEloquent();

        $this->registerActionComponentEloquent();

        $this->registerUserRoleEloquent();

        $this->registerComponentPermissionEloquent();

        $this->registerUserEloquent();
    }
744931
public function register()
    {
        $this->mergeConfigFrom(dirname(__DIR__).'/config/pay.php', 'pay');

        $this->app->singleton('pay.alipay', function () {
            return Pay::alipay(config('pay.alipay'));
        });
        $this->app->singleton('pay.wechat', function () {
            return Pay::wechat(config('pay.wechat'));
        });
    }
1360283
public function register()
    {
        $this->registerAliases();
        $this->registerCredentials();
        $this->registerOAuthCredentials();
        $this->registerUrlProvider();
        $this->registerAuthProvider();
    }
273182
public function register()
    {
        $this->mergeConfigs();
        $this->setIsWebsocket();
        $this->registerServer();
        $this->registerManager();
        $this->registerCommands();
        $this->registerDatabaseDriver();
        $this->registerSwooleQueueDriver();
    }
471380
public function register()
    {
        $this->instances = [];

        foreach ($this->providers as $provider) {
            $this->instances[] = $this->app->register($provider);
        }
    }
1369821
public function register()
    {
        $this->registerModelBuilder();
        $this->registerMigrationBuilder();
        $this->registerFormBuilder();
        $this->registerCacheBuilder();
        $this->registerBuilderService();
    }
546006
public function register()
    {
        $this->registerConfig();
        $this->registerEventLoop();
        $this->registerConnector();
        $this->registerFactory();
        $this->registerDongleUssd();
        $this->registerAmiListen();
        $this->registerAmiAction();
        $this->registerDongleSms();
        $this->registerAmiCli();
        $this->commands([
            'command.ami.dongle.ussd',
            'command.ami.dongle.sms',
            'command.ami.listen',
            'command.ami.action',
            'command.ami.cli',
        ]);
    }
356157
public function register()
    {
        // merge default config
        $this->mergeConfigFrom(
            __DIR__.'/../../config/config.php',
            'httpauth'
        );

        $this->app->singleton('httpauth', function ($app) {
            return new Httpauth($app['config']->get('httpauth'));
        });
    }
857645
public function register()
    {
        $this->app->singleton(Manager::class, function ($app) {
            $config = $app->make('config');

            return new Manager(
                $config,
                new Mailer($app->make('mailer'), $config)
            );
        });
    }
340051
public function register()
    {
        $this->app['actions']->listen('admin_menu', function () {
            foreach ($this->adminControllers as $adminController) {
                /** @var AdminPageController $adminController */
                $adminController = $this->app->make($adminController);

                $menuTitle = $adminController->getMenuTitle();

                add_menu_page(
                    $adminController->getTitle(),
                    !empty($menuTitle) ?: $adminController->getTitle(),
                    'manage_options',
                    $adminController->getSlug(),
                    [$adminController, '_render'],
                    $adminController->getIcon(),
                    $adminController->getPosition()
                );
            }
        });
    }
702931
public function register()
    {
        $this->registerAdapterPlugger();

        $this->registerPostAdapter();
        $this->registerTermAdapter();
        $this->registerUserAdapter();
        $this->registerMenuAdapter();
        $this->registerCommentAdapter();
    }
331388
public function register()
    {
        parent::register();

        $this->registerConfig();
        $this->registerSidebarItems();

        $this->registerProviders([
            Providers\AuthorizationServiceProvider::class,
            Providers\EventServiceProvider::class,
            Providers\ViewComposerServiceProvider::class,
            Providers\RouteServiceProvider::class,
            \Arcanedev\LaravelMarkdown\LaravelMarkdownServiceProvider::class,
        ]);
        $this->registerConsoleServiceProvider(Providers\CommandServiceProvider::class);
    }
810511
public function register()
    {
        $this->registerDisableCommand();
        $this->registerEnableCommand();
        $this->registerListCommand();
        $this->registerMigrateCommand();
        $this->registerMigrateRefreshCommand();
        $this->registerMigrateResetCommand();
        $this->registerMigrateRollbackCommand();
        $this->registerOptimizeCommand();
        $this->registerSeedCommand();
    }