Registers the settings.

@return void
480843
protected function registerSettings()
    {
        $this->app->singleton('jlourenco.settings', function ($app) {
            $config = $app['config']->get('jlourenco.base');

            $model = array_get($config, 'models.Settings');

            return new SettingsRepository($model);
        });
    }
574438
public function register()
    {
        foreach (array_keys(config('modules.locations')) as $location) {
            $repository = $this->repository($location);
            $modules    = $repository->enabled();

            $modules->each(function ($module) use ($repository) {
                try {
                    $this->registerServiceProvider($repository, $module);

                    $this->autoloadFiles($module);
                } catch (ModuleNotFoundException $e) {
                    //
                }
            });
        }
    }
1358157
public function register()
    {
        $this->setupCache();
        $this->mergeConfig();
        $this->setupMetaData();
        $this->setupConnection();
        $this->registerManagerRegistry();
        $this->registerEntityManager();
        $this->registerClassMetaDataFactory();
        $this->registerExtensions();
        $this->registerCustomTypes();
        $this->registerPresenceVerifier();
        $this->registerConsoleCommands();
    }
1124230
public function register()
    {
        $this->bindRouteModel();

        $this->loadAdminAuthConfig();

        $this->registerRouteMiddleware();

        $this->registerPolicies();

        $this->commands($this->commands);
    }
1352521
public function register()
    {
        // Store details
        $fields = $this->getModel()->getFields();
        $title = $this->getModel()->getTitle();

        // Works on hook
        $hook = new UserHook($title, $fields);
        $this->getModel()->setHook($hook);
    }
639039
public function register()
    {
        $this->registerLockdownConfiguration();
        $this->registerLockdownFacade();
        $this->registerUserProvider();
        $this->registerRoleProvider();
        $this->registerPermissionProvider();
        $this->registerLockdown();
        $this->registerLockdownGuard();
        $this->registerCommands();
    }
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()
                );
            }
        });
    }
998061
public function register()
    {
        $this->app->bind('hashids', function ($app) {
            $config = $app->config->get('hashids');

            return new Hashids(
                array_get($config, 'salt'),
                array_get($config, 'length', 0),
                array_get($config, 'alphabet')
            );
        });
    }
169047
public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/config/config.php', 'tactician');

        $this->registerLocator();
        $this->registerExtractor();
        $this->registerInflector();
        $this->registerCommandHandler();
        $this->registerMiddleware();
        $this->registerCommandBus();
        $this->registerDispatcher();
    }
224132
public function register() : void
    {
        $environment = $this->app->environment();

        $providers = $this->app['config']->get('app.' . $environment . '_providers', []);

        foreach ($providers as $provider) {
            $this->app->register($provider);
        }

        $facades = $this->app['config']->get('app.' . $environment . '_aliases', []);

        foreach ($facades as $class => $name) {
            AliasLoader::getInstance()->alias($class, $name);
        }
    }
664689
public function register()
    {
        $this->registerFoundation();

        $this->registerMetaContainer();

        $this->registerThrottlesLogins();

        $this->registerFacadesAliases();

        $this->registerCoreContainerAliases();

        $this->registerEventListeners();
    }
753535
private function registerSettingsPackage()
    {
        $this->registerProvider(SettingsServiceProvider::class);

        $this->alias('Settings', \Arcanedev\LaravelSettings\Facades\Settings::class);
    }
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']);
    }
349738
public function register()
    {
        $this->registerInstallCommand();
        $this->registerAuthSettingsInstallCommand();
        $this->registerAuthFilesInstallCommand();
        $this->registerAuthModelInstallCommand();
        $this->registerAuthViewsInstallCommand();
        //$this->registerInstallMiddlewareCommand();
    }
340319
public function register()
    {
        $this->registerAliases();

        $this->registerProviders();

        if ($this->isLoadFilesOnBoot() === false) {
            $this->registerFiles();
        }

        $this->fireEvent('register');
    }
409633
public function register() {
        include __DIR__.'/../routes.php';
        $config = __DIR__ . '/../config/config.php';
        $this->mergeConfigFrom($config, 'larakit.lk-adminlte');
        $this->publishes([
            $config => config_path('larakit/lk-adminlte/config.php'),
        ]);
        $this->loadViewsFrom(__DIR__.'/../views', 'lk-adminlte');
        if(\Request::is('admin*')){
            \LaraPage::body()->addClass(config('larakit.lk-adminlte.body_class'));
        }
    }
68443
protected function registerCommands()
    {
        $this->app->singleton('command.settings.table', function ($app) {
            return new SettingsTableCommand($app['files'], $app['composer']);
        });

        $this->commands('command.settings.table');
    }