Register any application services.

@return void
516157
public function register()
    {

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

        $this->app->singleton( HelpersBlueprint::class, Helpers::class );

        $this->app->singleton( 'ensphere.exception.handler', function( $app ) {
            return new Bucket();
        });

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

        $this->commands([
            RenameCommand::class,
            ExportCommand::class,
            ImportCommand::class,
            BowerCommand::class,
            MigrateCommand::class,
            RegistrationCommand::class,
            InstallCommand::class,
            UpdateCommand::class,
            MakeCommand::class,
            DatabaseCommand::class,
            ModulesCommand::class,
            ExternalAssetsCommand::class,
            DotEnv::class,
            ExtendCommand::class,
            InformCentralHub::class,
            PostProcessCommand::class,
            PreProcessCommand::class,
            BackResourceCommand::class,
            MigrationSeedCommand::class,
            SearchAndReplaceCommand::class,
            MediaCleanseCommand::class,
            JsRoutesCommand::class,
        ]);
    }
1158917
public function register()
  {
    $events = $this->register;

    foreach($events as $name => $event) {
      Events::listen($name, $event);
    }
  }
663366
public function register() {

		$this->app->bind( Attributes::class, Attr::class );

		$this->app->alias( Attributes::class, 'attr' );
	}
269710
public function register()
    {
        $this->initializeConfigs();

        $this->registerAppVersionManager();

        $this->registerHelpers();

        $this->registerBlade();

        if ($this->app->runningInConsole()) {
            $this->registerArtisanCommands();
        }
    }
698927
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/../config/roles.php', 'roles');
        $this->loadMigrationsFrom(__DIR__.'/Database/Migrations');
        $this->publishFiles();
        $this->loadSeedsFrom();
    }
1323112
public function register()
    {
        parent::register();

        $this->registerConfig();

        $this->singleton(Contracts\Http\JsonResponse::class, Http\JsonResponder::class);
    }
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);
        }
    }
895587
public function register(): void
    {
        ! $this->app->runningInConsole() || $this->registerCommands($this->commands);
        ! $this->app->runningInConsole() || $this->registerCommands($this->devCommands);
    }
471380
public function register()
    {
        $this->instances = [];

        foreach ($this->providers as $provider) {
            $this->instances[] = $this->app->register($provider);
        }
    }
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);
    }
1134019
public function register()
    {
        $this->mergeConfigFrom(
            __DIR__.'/../config/laravel-fulltext.php',
            'laravel-fulltext'
        );

        if ($this->app->runningInConsole()) {
            $this->publishes(
                [
                __DIR__.'/../config/laravel-fulltext.php' => config_path('laravel-fulltext.php'),
                ],
                'laravel-fulltext'
            );

            $this->publishes(
                [
                __DIR__.'/../database/migrations' => database_path('migrations'),
                ],
                'laravel-fulltext'
            );

            $this->commands($this->commands);
        }

        $this->app->bind(
            SearchInterface::class,
            Search::class
        );
    }
216093
public function register()
    {
        $this->rule->resolve(
            $this->pattern,
            $this->conditions
        )->add();

        if (! empty($parameters = $this->rule->getParameters())) {
            $this->tag->add($parameters);
        }
    }
1152761
public function register()
    {
        parent::register();

        $this->registerLogLevels();
        $this->registerStyler();
        $this->registerLogMenu();
        $this->registerFilesystem();
        $this->registerFactory();
        $this->registerChecker();
    }
32578
public function register() {

		$this->app->singleton('command.it', function ($app) {
				return new Commands\It;
			});

		$this->app->singleton('command.it.hey', function ($app) {
				return new Commands\ItComeOut;
			});
		$this->app->singleton('command.it.generate', function ($app) {
				return new Commands\Generate;
			});
		$this->app->singleton('command.it.install', function ($app) {
				return new Commands\ItInstaller;
			});
		$this->app->singleton('command.it.uninstall', function ($app) {
				return new Commands\ItUninstall;
			});

		$this->commands([
				Commands\Generate::class ,
				Commands\It::class ,
				Commands\ItComeOut::class ,
				Commands\ItInstaller::class ,
				Commands\ItUninstall::class ,
			]);
		//
	}
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');
            });
            

        }
    }
646619
public function register() {
		$this->files = new Filesystem;
		$this->registerMakeCommand();
		$this->registerListCommand();
		$this->registerMigrateCommand();
		$this->registerMigrateAllCommand();
		$this->registerDeleteCommand();
	}
555896
public function register()
    {
        $this->mergeConfig();

        $config = $this->app->make('config');

        $this->registerRepositories($config);
        $this->registerCommands($config);
    }