Register the service provider.

@return void
965829
public function register()
    {
        $this->app->singleton(self::ROUTE_RESOLVER_VAR_NAME, function ($app) {
            $resolver = new RouteResolver();

            \View::share(self::ROUTE_RESOLVER_VAR_NAME, $resolver);
            return $resolver;
        });

        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__.'/config/route-resolver.php' => config_path('crumby-crumbs/route-resolver.php')
            ], 'config');
        }
        
        $this->app->alias(self::ROUTE_RESOLVER_VAR_NAME, 'Crumby\RouteResolver\RouteResolver');
        \RouteResolver::loadConfig();
    }
21747
public function register()
    {

        $app = $this->app;

        if (true === $this->app['config']->get('database.autostart')) {

            $configs = Config::get('database');
            $connection = $configs['connection'];
            $connectionConfigs = Arr::get($configs['connections'], $connection, []);

            Query::configs($connectionConfigs);

            $this->singleton(
                'database.base',
                function () {
                    return new Database();
                }
            );

            $this->singleton(Base::class, function () {
                return App::make('database.base');
            });
            

        }
    }
824478
public function register()
    {
        $this->commands([
                ConsoleMakeCommand::class,
                ControllerMakeCommand::class,
                EnvironmentCommand::class,
                EventMakeCommand::class,
                JobMakeCommand::class,
                KeyGenerateCommand::class,
                ListenerMakeCommand::class,
                MailMakeCommand::class,
                MiddlewareMakeCommand::class,
                ModelMakeCommand::class,
                NotificationMakeCommand::class,
                ProviderMakeCommand::class,
                ResourceMakeCommand::class,
                TestMakeCommand::class,
            ]);
    }
269710
public function register()
    {
        $this->initializeConfigs();

        $this->registerAppVersionManager();

        $this->registerHelpers();

        $this->registerBlade();

        if ($this->app->runningInConsole()) {
            $this->registerArtisanCommands();
        }
    }
646619
public function register() {
		$this->files = new Filesystem;
		$this->registerMakeCommand();
		$this->registerListCommand();
		$this->registerMigrateCommand();
		$this->registerMigrateAllCommand();
		$this->registerDeleteCommand();
	}
369749
public function register()
    {
        $this->prepareResources();
        $this->registerGroups();
        $this->registerUsers();
        $this->registerSettings();
        $this->registerLog();
        $this->registerVisits();
        $this->registerJobs();
        $this->registerBase();
        $this->registerToAppConfig();
        $this->registerMiddleware();
    }
1320025
public function register()
    {
        $this->registerPermissions();
        $this->registerConfig();
        $this->registerRenderEngine();
        $this->registerBladeExtensions();

        AgencmsHandler::register();
    }
920608
public function register() : void
    {
        if ($this->getConfigParam('env') == 'prod') {
            ini_set('display_errors', 'Off');
        } else {
            ini_set('display_errors', 'On');
        }
        error_reporting(E_ALL);
        set_error_handler([$this, 'handleError']);
        set_exception_handler([$this, 'handleException']);
    }
1369821
public function register()
    {
        $this->registerModelBuilder();
        $this->registerMigrationBuilder();
        $this->registerFormBuilder();
        $this->registerCacheBuilder();
        $this->registerBuilderService();
    }
664689
public function register()
    {
        $this->registerFoundation();

        $this->registerMetaContainer();

        $this->registerThrottlesLogins();

        $this->registerFacadesAliases();

        $this->registerCoreContainerAliases();

        $this->registerEventListeners();
    }
508501
public function register()
    {
        $this->app['httpauth'] = $this->app->share(function ($app) {
            return new Httpauth($app['config']->get('httpauth::config'));
        });
    }
469800
public function register()
    {
        $this->bindContracts();
        $this->bindConfig();
        $this->bindSender();
        $this->bindResolver();
        $this->bindNotifynder();

        $this->registerSenders();
    }
440985
public function register()
    {
        $registerConfig = $this->config->getSubConfig(self::REGISTER);
        array_map('register_widget', $registerConfig->getArrayCopy());
    }
464253
public function register()
    {
        $this->registerRepository();
        $this->registerMigrator();
        $this->registerTranslation();
        // for create migration
        $this->registerCreator();
        // for create migration

        // add commands
        $this->registerCommands();


    }
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',
        ]);
    }
694201
public function register()
    {
        $config = __DIR__ . '/config/config.php';
        $this->mergeConfigFrom($config, 'salesforce');
        $this->publishes([$config => config_path('salesforce.php')]);

        $this->app->singleton('salesforce', function ($app) {
            $sf = new Salesforce(new Client());
            $sf->connect($app['config']);

            return $sf;
        });
    }
1360283
public function register()
    {
        $this->registerAliases();
        $this->registerCredentials();
        $this->registerOAuthCredentials();
        $this->registerUrlProvider();
        $this->registerAuthProvider();
    }