Register the service provider.

@return void
358067
public function register()
    {
        $this->app->singleton('menu', function ($app) {
            return new Repository();
        });

        $this->app->singleton('konekt.menu.renderer.menu.ul', UlMenuRenderer::class);
        $this->app->singleton('konekt.menu.renderer.menu.ol', OlMenuRenderer::class);
        $this->app->singleton('konekt.menu.renderer.menu.div', DivMenuRenderer::class);
        $this->app->singleton('konekt.menu.renderer.item.li', LiItemRenderer::class);
        $this->app->singleton('konekt.menu.renderer.item.div', DivItemRenderer::class);
    }
1180233
public function register(): void
    {
        if (!$this->registered) {
            \spl_autoload_register([$this, 'load'], true, true);
            $this->registered = true;
        }
    }
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));
        });
    }
469800
public function register()
    {
        $this->bindContracts();
        $this->bindConfig();
        $this->bindSender();
        $this->bindResolver();
        $this->bindNotifynder();

        $this->registerSenders();
    }
115663
public function register()
    {
        $this->registerManager();
        $this->registerConnection();
        $this->registerWorker();
        $this->registerListener();
        $this->registerFailedJobServices();
        $this->registerOpisSecurityKey();
    }
277613
public function register()
    {
        $this->mergeConfigFrom(
            __DIR__.'/config/config.php', 'laravel-ab'
        );
        $this->app->make('Illuminate\Contracts\Http\Kernel')->prependMiddleware('\ComoCode\LaravelAb\App\Http\Middleware\LaravelAbMiddleware');
        $this->app->bind('Ab', 'ComoCode\LaravelAb\App\Ab');
        $this->registerCompiler();
        $this->registerCommands();
    }
601122
public function register()
    {
        $config = config('coreplex');

        $this->app->singleton('Coreplex\Core\Contracts\Renderer', function ($app) use ($config) {
            return (new ReflectionClass($config['renderer']['driver']))->newInstanceArgs([$app['view']]);
        });

        $this->app->singleton('Coreplex\Core\Contracts\Session', function ($app) use ($config) {
            return (new ReflectionClass($config['session']['driver']))->newInstanceArgs([$config['session'],
                $app['session.store']]);
        });

        $this->app->alias('Coreplex\Core\Contracts\Renderer', 'coreplex.core.renderer');
        $this->app->alias('Coreplex\Core\Contracts\Session', 'coreplex.core.session');
    }
1171195
public function register()
    {
        $this->registerManager();
        $this->app->singleton(
            'adminconfiguration', 
            \AvoRed\Framework\AdminConfiguration\Manager::class
        );
    }
52589
public function register()
    {
        $this->registerInstallCommand();
        $this->registerInfoCommand();
        $this->registerSeedCommand();
        $this->registerCacheCommand();
        $this->registerHookCommand();
    }
26718
public function register()
	{
        $this->mergeConfigFrom(
		    __DIR__.'/../config/themes.php', 'themes'
		);
		
		$this->registerServices();
		$this->registerNamespaces();

        $this->commands([
            GenerateTheme::class
        ]);
	}
272983
public function register()
    {
        $this->core = app(Component::CORE);

        $this->registerSentinel()
             ->registerAuthRepository()
             ->registerCommands()
             ->publishMigrations();
    }
721518
public function register()
    {
        $this->registerCurrency();

        if ($this->app->runningInConsole()) {
            $this->registerResources();
            $this->registerCurrencyCommands();
        }
    }
1070733
public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../config/larabug.php', 'larabug');

        $this->app->singleton(LaraBug::SERVICE, function ($app) {
            return new LaraBug;
        });
    }
61790
public function register()
    {
        $this->container->bind('config', new Repository(
            new FileLoader(
                new Filesystem,
                $this->container->appPath().'/config'
            ),
            new Resolver,
            $this->container->os()
        ));
    }
967172
public function register()
    {
        $this->app->singleton('command.models.generate', function($app) {
            $db = $app['db.connection'];
            $driverClass = __NAMESPACE__.'\Drivers\\'.ucfirst($db->getDriverName()).'Driver';
            $driver = new $driverClass($db->getPdo());

            $builder = new Builder($app['config'], $driver);

            return new Console\GenerateCommand($builder);
        });

        $this->commands([
            'command.models.generate'
        ]);
    }
1188040
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/../config/server-monitor.php', 'server-monitor');

        $this->app['events']->subscribe(\EricMakesStuff\ServerMonitor\Notifications\EventHandler::class);

        $this->app->bind('command.monitor:run', RunCommand::class);

        $this->commands([
            'command.monitor:run',
        ]);

        $this->app->singleton(ConsoleOutput::class);
    }
102498
public function register()
    {
        $this->app->bindShared('command.cache.clear', function ($app)
        {
            return new Console\ClearCommand($app['cache'], $app['files']);
        });

        $this->app->bindShared('command.cache.forget', function ($app)
        {
            return new Console\ForgetCommand($app['cache']);
        });

        $this->app->bindShared('command.cache.table', function ($app)
        {
            return new Console\CacheTableCommand($app['files']);
        });

        $this->commands('command.cache.clear', 'command.cache.forget', 'command.cache.table');
    }