Register the service provider for theme.

@return void
975585
protected function registerTheme()
    {
        $this->app->singleton('antares.theme', function ($app) {
            return new ThemeManager($app);
        });

        $this->app->singleton('antares.theme.finder', function ($app) {
            return new Finder($app);
        });
    }
422664
public function register()
    {
        // Register 'defaultprofileimage' instance container to our defaultprofileimage object
        $this->app->singleton('defaultprofileimage', function($app)
        {
            return new DefaultProfileImage;
        });

        // Shortcut so developers don't need to add an Alias in app/config/app.php
        $this->app->booting(function()
        {
            $loader = \Illuminate\Foundation\AliasLoader::getInstance();
            $loader->alias('DefaultProfileImage', 'A6digital\Image\Facades\DefaultProfileImage');
        });
    }
600930
public function register()
    {
        $loader = \Illuminate\Foundation\AliasLoader::getInstance();

        $loader->alias('Features', \App\Facades\Features::class);

        $this->app->singleton('FeatureService', function ($app) {
            return app(\App\Services\FeatureService::class);
        });
    }
760236
public function register()
    {
        /** @var ThemeManager $theme */
        $theme = $this->app->make('wp.theme');

        Asset::add('theme_styles', 'css/theme.css', [], $theme->getHeader('version'))->to('front');
        Asset::add('theme_woo', 'css/woocommerce.css', ['theme_styles'], $theme->getHeader('version'))->to('front');
        Asset::add('theme_js', 'js/theme.min.js', [], $theme->getHeader('version'))->to('front');
    }
216611
public function register()
    {
        // Register Menu Singleton
        $this->app->singleton('menu', function (Application $app) {
            return $app->make(Menu::class);
        });

        // Facade Alias
        $this->app->booting(function () {
            $loader = AliasLoader::getInstance();
            $loader->alias('Menu', MenuFacade::class);
        });
    }
331426
public function register()
    {
        $this->loadViewsFrom(__DIR__.'/../../resources/views', 'sigesui');
        $this->publishes([
            __DIR__.'/../../public' => public_path(),
        ], 'sigespublic');
        $this->publishes([
            __DIR__.'/../../resources/views' => base_path('resources/views/vendor/sigesui'),
        ], 'sigesviews');
    }
634960
public function register()
    {
        $facade = new Payment();
        $this->app->instance('\Payment', $facade);
        $this->app->instance(PaymentFacade::class, $facade);
    }
450018
public function register()
    {
        $this->app->singleton('orchestra.avatar', function (Application $app) {
            $manager = new AvatarManager($app);
            $namespace = $this->hasPackageRepository() ? 'orchestra/avatar::' : 'orchestra.avatar';

            $manager->setConfig($app->make('config')->get($namespace));

            return $manager;
        });
    }
1213680
public function register()
    {
        // Bind the Class
        $this->app->bind('helper', function () {
            return $this->app->make(Helper::class);
        });

        // Register an Alias of the Facade
        $this->app->booting(function () {
            $loader = AliasLoader::getInstance();
            $loader->alias('Helper', HelperFacade::class);
        });
    }
144652
public function register()
    {
        // Registrar binds
        foreach ($this->binds as $bindId => $bindClass)
            $this->app->bind($bindId, $bindClass);

        // Registrar providers
        foreach ($this->providers as $provider => $classServiceProvider)
        {
            $this->app->singleton($provider, function ($app) use ($classServiceProvider) {
                return new $classServiceProvider($app);
            });
        }
    }
1143676
protected function registerTheme()
    {
        $this->app->singleton(
            'theme', 
            function ($app) {
                $loadDefaultLangPath = base_path('resources/lang');
                $app['path.lang'] = $loadDefaultLangPath;
                return new Manager($app['files']);
            }
        );
    }
1042035
public function register()
    {
        $dependencies = [
            ArtisanServiceProvider::class,
            ContainersServiceProvider::class,
            EventServiceProvider::class,
            BreadcrumbsServiceProvider::class => [
                'Breadcrumbs' => BreadcrumbsFacade::class,
            ],
            HtmlServiceProvider::class => [
                'Html' => HtmlFacade::class,
                'Form' => FormFacade::class,
            ],
            PaperclipServiceProvider::class,
            MenusServiceProvider::class => [
                'AdminNav' => MenuFacade::class,
            ],
            GravatarServiceProvider::class => [
                'Gravatar' => Gravatar::class,
            ],
        ];

        array_walk($dependencies, function ($package, $provider) {
            if (is_string($package) && is_numeric($provider)) {
                $provider = $package;
                $package = null;
            }

            if (!$this->app->getProvider($provider)) {
                $this->app->register($provider);

                if (is_array($package)) {
                    foreach ($package as $alias => $facade) {
                        if (class_exists($alias)) {
                            continue;
                        }

                        class_alias($facade, $alias);
                    }
                }
            }
        });
    }
570934
public function register()
    {
        $this->loadConfigs();
        $this->app->register(AmethystServiceProvider::class);
        $this->app->register(\Railken\Lem\Providers\ManagerServiceProvider::class);
        $this->app->register(\Railken\Amethyst\Providers\ApiServiceProvider::class);
        $this->app->register(\Railken\Amethyst\Documentation\GeneratorServiceProvider::class);
    }
793381
public function registerTheme()
	{
		$this->app->singleton('theme', function($app)
		{
			return new Theme($app['config'], $app['events'], $app['view'], $app['asset'], $app['files'], $app['breadcrumb'], $app['manifest']);
		});

		$this->app->alias('theme', 'Facuz\Theme\Contracts\Theme');
	}
1151223
public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../../config/config.php', 'litecms.gallery');

        // Bind facade
        $this->app->bind('litecms.gallery', function ($app) {
            return $this->app->make('Litecms\Gallery\Gallery');
        });

        // Bind Gallery to repository
        $this->app->bind(
            'Litecms\Gallery\Interfaces\GalleryRepositoryInterface',
            \Litecms\Gallery\Repositories\Eloquent\GalleryRepository::class
        );

        $this->app->register(\Litecms\Gallery\Providers\AuthServiceProvider::class);

        $this->app->register(\Litecms\Gallery\Providers\RouteServiceProvider::class);

    }
181843
public function register()
	{
		$configPath = __DIR__ . '/../../config/config.php';
		$this->mergeConfigFrom($configPath, 'googlmapper');

        $this->app->singleton(
            'mapper',
            function($app)
            {
                return new Mapper($this->app->view, $app['config']->get('googlmapper'));
            }
        );
	}
416622
public function register()
    {
        // Load package config to allow use of values
        Config::package('antarctica/laravel-token-blacklist', __DIR__.'/../../config');

        // Register package dependencies' service providers and aliases (so the user doesn't have to in app/config/app.php)
        $this->app->register('Indatus\Dispatcher\ServiceProvider');

        // Register package interfaces with their corresponding implementations
        $this->app->bind(
            'Antarctica\LaravelTokenBlacklist\Repository\TokenBlacklistRepositoryInterface',
            Config::get('laravel-token-blacklist::repository')
        );
    }