Register any application services.

@return void
14098
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/config/config.php', 'widgetize');
        $this->commands('command.imanghafoori.widget');
        app(RouteMacros::class)->registerMacros();
        app(SingletonServices::class)->registerSingletons($this->app);
    }
1152761
public function register()
    {
        parent::register();

        $this->registerLogLevels();
        $this->registerStyler();
        $this->registerLogMenu();
        $this->registerFilesystem();
        $this->registerFactory();
        $this->registerChecker();
    }
1166248
public function register(): void
    {
        $this->app->bind(\Assurrussa\GridView\Interfaces\GridInterface::class, function ($app) {
            /** @var Container $app */
            return $app->make(GridView::class);
        });
        $this->app->alias(\Assurrussa\GridView\GridView::class, GridView::NAME);
        $this->app->alias(\Assurrussa\GridView\GridView::class, \Assurrussa\GridView\Interfaces\GridInterface::class);
    }
292296
public function register()
    {
        $this->registerAuthenticator();
        $this->registerUserResolver();
        $this->registerAccessGate();
        $this->registerRequestRebindHandler();
        $this->registerEventRebindHandler();
    }
967253
public function register()
    {
        $this->registerJsMinifier();
        $this->registerCssMinifier();
        $this->registerHtmlMinifier();
        $this->registerBladeMinifier();
        $this->registerMinifyCompiler();
        $this->registerHTMLMin();
    }
1323112
public function register()
    {
        parent::register();

        $this->registerConfig();

        $this->singleton(Contracts\Http\JsonResponse::class, Http\JsonResponder::class);
    }
563998
public function register()
    {
        parent::register();

        $this->singleton(Contracts\Agent::class, function ($app) {
            /** @var  \Illuminate\Http\Request  $request */
            $request = $app['request'];

            return new Agent($request->server->all());
        });
    }
1308615
public function register()
    {
        foreach ($this->modules as $module)
        {
            $module->register();
        }
        $modules = ModuleModel::where('module_status', 1)->get();

        foreach ($modules as $module)
        {
            if ($module->module_is_installed)
            {
                $this->app['events']->fire('modules.install.'.$module->module_name, null);
                $module->module_is_installed = 0;
            }
            if ($module->module_is_updated)
            {
                $this->app['events']->fire('modules.update.'.$module->module_name, null);
                $module->module_is_updated = 0;
            }
            if ($module->module_is_enabled)
            {
                $this->app['events']->fire('modules.enable.'.$module->module_name, null);
                $module->module_is_enabled = 0;
            }
            $module->save();
        }
    }
719980
public function register()
    {
        $bindings = $this->bindings();
        count($bindings) > 0 && App::bind($bindings);

        $providers = $this->providers();
        count($providers) > 0 && App::register($providers);

        $config = $this->config();
        count($config) > 0 && Config::push($config);

        $subscribers = $this->subscribers();
        count($subscribers) > 0 && Event::register($subscribers);

        $this->routes();
    }
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();
    }
646619
public function register() {
		$this->files = new Filesystem;
		$this->registerMakeCommand();
		$this->registerListCommand();
		$this->registerMigrateCommand();
		$this->registerMigrateAllCommand();
		$this->registerDeleteCommand();
	}
52589
public function register()
    {
        $this->registerInstallCommand();
        $this->registerInfoCommand();
        $this->registerSeedCommand();
        $this->registerCacheCommand();
        $this->registerHookCommand();
    }
748390
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/../config/translation.php', 'translation');

        $this->app->bind(ClientContract::class, $this->app->config['translation.clients.client']);

        // $this->app->singleton(ClientContract::class, function ($app) {
        //     return new $this->app->config['translation.clients.client']();
        // });

        $this->app->bind(TranslationContract::class, $this->app->config['translation.models.translation']);

        $this->app->singleton(Translation::class, function ($app) {
            return new Translation(new $this->app->config['translation.clients.client']($app));
        });
    }
1359584
public function register()
    {

        // merge & publihs config
        $configPath = __DIR__ . '/../../../config/config.php';
        $this->mergeConfigFrom($configPath, 'db-config');
        $this->publishes([$configPath => config_path('db-config.php')]);

        $this->app->singleton('db-config', function ($app) {

            $table = $app['config']->get('db-config.table');

            $dbProvider = new DbProvider($table);

            return new DbConfig($app['config'], $dbProvider);
        });

    }
1255567
public function register()
    {
        $this->registerCallbackFactory();
        $this->registerEventDispatcher();
        $this->registerFactory();
        $this->registerCascadeTransitionCallback();
        $this->registerCommands();
    }
1269268
public function register()
    {
        $file = $this->app->make(Filesystem::class);
        $path    = realpath(__DIR__.'/../Helpers');
        $helpers = $file->glob($path.'/*.php');
        foreach ($helpers as $helper) 
        {
            require_once($helper);
        }
        $helpers = $file->glob($path.'/*/*.php');
        foreach ($helpers as $helper) 
        {
            require_once($helper);
        }
    }
829044
public function register()
    {
        $this->app->singleton('log', function () {
            return $this->createLogger();
        });

        $this->app->alias('log', Log::class);
        $this->app->alias('log', LoggerInterface::class);
        $this->app->alias('log', Writer::class);
    }