Register the service provider.

@return void
498166
public function register()
    {
        $this->app->singleton('matrix', function ($app) {
            $config = $app->make('config')->get('matrix');
            return new Matrix($config['domain']);
        });
        $this->app->alias('matrix', '\Updivision\Matrix\Matrix');
    }
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'));
        });
    }
975217
public function register()
    {
        /**
         * @var Router $router
         */
        $router = $this->app['router'];

        if(!is_admin_panel()) {
            $router->pushMiddlewareToGroup('web', ConstructionModeMiddleware::class);
            $router->pushMiddlewareToGroup('web', AdminBarMiddleware::class);
            $router->pushMiddlewareToGroup('api', CorsMiddleware::class);
        }
    }
575272
public function register()
    {
        $this->registerRepository();

        $this->registerMapper();

        $this->registerCreator();

        $this->registerCommands();

        $this->registerAlias();
    }
362884
public function register()
	{
		$this->registerGroupProvider();
		$this->registerPermissionProvider();
		$this->registerGroupObjectPermissionProvider();
		$this->registerUserObjectPermissionProvider();
		
		$this->registerRedoubt();
	}
176140
public function register() {
        $this->loadConfiguration();

        /** Register language repository . */
        $this->app->bind('lang-db-repo', function() {
            return new LanguageRepository(
                new Language()
            );
        });

        /** Register translations repository . */
        $this->app->bind('translations-db-repo', function() {
            return new TranslationsRepository(
                new Translation()
            );
        });

        /** Register driver manager */
        $this->app->bind('driver-translator-manager', function() {
            return (new Manager(
                config('laravel-translator')
            ));
        });

        /** Register translator . */
        $this->app->singleton('laravel-translator', function($app) {
            return new Translator(
                config('laravel-translator'),
                $app['driver-translator-manager']
            );
        });
    }
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));
        });
    }
893562
public function register()
    {
        $this->registerAddressValidation();
        $this->registerSimpleAddressValidation();
        $this->registerQuantumView();
        $this->registerTracking();
        $this->registerRate();
        $this->registerTimeInTransit();
        $this->registerLocator();
        $this->registerTradeability();
        $this->registerShipping();
    }
1259699
public function register()
    {
        $this->registerAuthenticator();

        $this->registerPasswordService();

        $this->registerThrottleService();

        $this->registerUserResolver();

        $this->registerRequestRebindHandler();
    }
1074573
public function register()
    {
        $this->commands('Someline\Repository\Generators\Commands\RepositoryCommand');
        $this->commands('Someline\Repository\Generators\Commands\TransformerCommand');
        $this->commands('Someline\Repository\Generators\Commands\PresenterCommand');
        $this->commands('Someline\Repository\Generators\Commands\EntityCommand');
        $this->commands('Someline\Repository\Generators\Commands\ValidatorCommand');
        $this->commands('Someline\Repository\Generators\Commands\ControllerCommand');
        $this->commands('Someline\Repository\Generators\Commands\BindingsCommand');
        $this->commands('Someline\Repository\Generators\Commands\CriteriaCommand');
    }
327380
public function register()
    {
        parent::register();

        $this->app->booted(function (Application $app) {
            $this->registerEventListeners($app->make('events'));
        });
    }
804318
public function register()
    {
        parent::register();

        $this->registerConfig();

        $this->registerLogViewer();
        $this->registerAliases();

        $this->registerProviders([
            Providers\UtilitiesServiceProvider::class,
            Providers\RouteServiceProvider::class,
        ]);
        $this->registerConsoleServiceProvider(Providers\CommandsServiceProvider::class);
    }
722152
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'self-diagnosis');

        $this->app->bind('command.selfdiagnosis', SelfDiagnosisCommand::class);

        $this->commands([
            'command.selfdiagnosis',
        ]);
    }
785703
public function register()
    {
        $packages = $this->repository->enabled();

        $packages->each(function($properties)
        {
            $this->registerServiceProvider($properties);
        });
    }
369749
public function register()
    {
        $this->prepareResources();
        $this->registerGroups();
        $this->registerUsers();
        $this->registerSettings();
        $this->registerLog();
        $this->registerVisits();
        $this->registerJobs();
        $this->registerBase();
        $this->registerToAppConfig();
        $this->registerMiddleware();
    }
440985
public function register()
    {
        $registerConfig = $this->config->getSubConfig(self::REGISTER);
        array_map('register_widget', $registerConfig->getArrayCopy());
    }
1199558
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/config/config.php', 'autologin');

        $this->bindAutologinInterface();
        $this->bindAuthenticationInterface();

        $this->registerAutologinProvider();
        $this->registerAutologin();
    }