Register the service provider.

@return void
327380
public function register()
    {
        parent::register();

        $this->app->booted(function (Application $app) {
            $this->registerEventListeners($app->make('events'));
        });
    }
258996
public function register()
    {
        $app = $this->app;

        /*
        |--------------------------------------------------------------------------
        | Register route service provider.
        |--------------------------------------------------------------------------
        */
        $app->register(RouteServiceProvider::class);

        /*
        |--------------------------------------------------------------------------
        | Collection extensions.
        |--------------------------------------------------------------------------
        */
        $app->register(CollectionExtensions::class);

        /*
        |--------------------------------------------------------------------------
        | Init list of modules.
        |--------------------------------------------------------------------------
        */
        Config::set('typicms.modules', []);

        /*
        |--------------------------------------------------------------------------
        | TypiCMS utilities.
        |--------------------------------------------------------------------------
        */
        $this->app->singleton('typicms', function () {
            return new TypiCMS();
        });

        /*
        |--------------------------------------------------------------------------
        | Disk drivers for original images and crops.
        |--------------------------------------------------------------------------
        */
        $this->app->singleton('filesystem.default.driver', function () {
            return $this->app['filesystem.disk']->getDriver();
        });

        /*
        |--------------------------------------------------------------------------
        | Register TypiCMS commands.
        |--------------------------------------------------------------------------
        */
        $this->commands([
            Create::class,
            Database::class,
            Install::class,
            Publish::class,
        ]);

        /*
        |--------------------------------------------------------------------------
        | Register TypiCMS routes.
        |--------------------------------------------------------------------------
        */
        $this->registerModuleRoutes();
    }
1171195
public function register()
    {
        $this->registerManager();
        $this->app->singleton(
            'adminconfiguration', 
            \AvoRed\Framework\AdminConfiguration\Manager::class
        );
    }
408964
public function register()
    {
        $this->app->singleton('CountryState', function () {
            return new CountryState(config('countrystate.limitCountries'), config('countrystate.preloadCountryStates'), config('countrystate.language'));
        });
        $this->mergeConfigFrom(__DIR__ . '/config/countrystate.php', 'countrystate');
    }
968463
public function register()
    {
        $this->registerAdapterFactory();
        $this->registerCacheFactory();
        $this->registerFlysystemFactory();
        $this->registerManager();
        $this->registerBindings();
    }
996191
public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../config/authentication.php', 'authentication');

        $this->app->singleton(PasswordResetRepositoryContract::class, function ($app) {
            return new PasswordResetRepository($app['config']);
        });

        $this->app->singleton(UserRepositoryContract::class, function () {
            return new UserRepository();
        });

        $this->registerRegisterUserCommand();
        $this->registerAdminCommand();
        $this->registerBanCommand();
    }
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'));
        });
    }
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'));
        });
    }
292296
public function register()
    {
        $this->registerAuthenticator();
        $this->registerUserResolver();
        $this->registerAccessGate();
        $this->registerRequestRebindHandler();
        $this->registerEventRebindHandler();
    }
1369821
public function register()
    {
        $this->registerModelBuilder();
        $this->registerMigrationBuilder();
        $this->registerFormBuilder();
        $this->registerCacheBuilder();
        $this->registerBuilderService();
    }
1158917
public function register()
  {
    $events = $this->register;

    foreach($events as $name => $event) {
      Events::listen($name, $event);
    }
  }
465018
public function register() {
        $app = $this->app;
        $this->app->single($app->class, function ($app, $class) {
            $class = $app->namespace . '\\' . $class . '\\' . $class;
            return new $class($app);
        }, TRUE);
    }
273182
public function register()
    {
        $this->mergeConfigs();
        $this->setIsWebsocket();
        $this->registerServer();
        $this->registerManager();
        $this->registerCommands();
        $this->registerDatabaseDriver();
        $this->registerSwooleQueueDriver();
    }
383987
public function register()
    {
        $this->registerShop();

        $this->registerCommands();

        $this->mergeConfig();

        /*
         * Subscribe to events class
         */
        $this->app->events->subscribe(new UserLogged());
    }
895587
public function register(): void
    {
        ! $this->app->runningInConsole() || $this->registerCommands($this->commands);
        ! $this->app->runningInConsole() || $this->registerCommands($this->devCommands);
    }
1139084
public function register()
    {
        $this->registerEvents();

        $this->registerFiles();

        $this->registerConfigs();

        $this->registerEncrypter();

        $this->registerDiscover();
    }
702931
public function register()
    {
        $this->registerAdapterPlugger();

        $this->registerPostAdapter();
        $this->registerTermAdapter();
        $this->registerUserAdapter();
        $this->registerMenuAdapter();
        $this->registerCommentAdapter();
    }