Register the bindings for the Claim Factory.

@return void
513382
protected function registerClaimFactory()
    {
        $this->app->singleton('afroware.jwT.claim.factory', function ($app) {
            $factory = new ClaimFactory($app['request']);
            $app->refresh('request', $factory, 'setRequest');

            return $factory->setTTL($this->config('ttl'));
        });
    }
207383
protected function registerBindings()
    {
        // Bind Personality Insights interface.
        $this->app->bind(InsightsContract::class, PersonalityInsights::class);

        // Bind Personality Insights Service.
        $this->app->bind(PersonalityInsights::SERVICE_ID, PersonalityInsights::class);

        // Registers the Access Manager.
        $this->registerAccessManager();

        // Registers the Bridge.
        $this->registerBridge();

        // Bind PersonalityInsights ContentListContainer in App.
        $this->app->bind(ContentListContainer::SERVICE_ID, function () {
            return (new ContentListContainer)->cleanContainer();
        });
    }
855828
protected function registerBindings(): void
    {
        $this->app->bind('algolia.connection', function (Container $app) {
            $manager = $app['algolia'];

            return $manager->connection();
        });

        $this->app->alias('algolia.connection', SearchClient::class);
    }
228420
public function register()
    {
        $this->app->singleton('comment.factory', function ($app) {
            return new CommentFactory($app);
        });

        $this->app->alias('comment.factory', CommentFactory::class);
    }
61503
public function registerRewriteFactory()
    {
        $this->app->singleton('rewrite.factory', function ($app) {
            return new RewriteFactory($app['rewrites.collection'], $app);
        });

        $this->app->alias('rewrite.factory', RewriteFactory::class);
    }
968463
public function register()
    {
        $this->registerAdapterFactory();
        $this->registerCacheFactory();
        $this->registerFlysystemFactory();
        $this->registerManager();
        $this->registerBindings();
    }
1362067
protected function registerModelFactory()
    {
        $this->app->singleton(ModelFactory::class, function ($app) {
            return new ModelFactory(
                $app->make('db'),
                $app->make(Filesystem::class),
                new Classify(),
                new Config($app->make('config')->get('models'))
            );
        });
    }
1232013
public function register()
    {
        $this->app->singleton('profile.factory', function ($app) {
            return new ProfileFactory($app);
        });

        $this->app->alias('profile.factory', ProfileFactory::class);
    }
462538
public function register()
    {
        $this->app->singleton('payments', function (Container $app) {
            return new Factory($app);
        });
        $this->app->alias('payments', Factory::class);

        $path = dirname(__DIR__) . '/config/payments.php';

        if (is_file($path)) {
            $this->mergeConfigFrom($path, 'payments');

            $this->publishes([$path => config_path('payments.php')]);
        }

        $path = dirname(__DIR__) . '/config/config.php';

        if (is_file($path)) {
            $this->mergeConfigFrom($path, 'module.payments');

            $this->publishes([$path => config_path('module/payments.php')]);
        }

        $this->loadMigrationsFrom(__DIR__ . '/Database/Migrations');
    }
1287861
protected function registerBaseBindings()
    {
        static::setInstance($this);

        $this->instance('app', $this);

        $this->instance(Container::class, $this);
    }
1332678
protected function registerHttplugFactories()
    {
        $this->app->bind('httplug.message_factory.default', function ($app) {
            return MessageFactoryDiscovery::find();
        });
        $this->app->alias('httplug.message_factory.default', MessageFactory::class);
        $this->app->alias('httplug.message_factory.default', ResponseFactory::class);

        $this->app->bind('httplug.uri_factory.default', function ($app) {
            return UriFactoryDiscovery::find();
        });
        $this->app->alias('httplug.uri_factory.default', UriFactory::class);

        $this->app->bind('httplug.stream_factory.default', function ($app) {
            return StreamFactoryDiscovery::find();
        });
        $this->app->alias('httplug.stream_factory.default', StreamFactory::class);
    }
386771
protected function registerAuthBindings()
    {
        $this->singleton('auth', function () {
            return $this->loadComponent('auth', 'Illuminate\Auth\AuthServiceProvider', 'auth');
        });

        $this->singleton('auth.driver', function () {
            return $this->loadComponent('auth', 'Illuminate\Auth\AuthServiceProvider', 'auth.driver');
        });

        $this->singleton('Illuminate\Contracts\Auth\Access\Gate', function () {
            return $this->loadComponent('auth', 'Illuminate\Auth\AuthServiceProvider', 'Illuminate\Contracts\Auth\Access\Gate');
        });
    }
133780
protected function registerRouteBindings()
    {
        Routes\Admin\UsersRoutes::bindings();
        Routes\Admin\RolesRoutes::bindings();
        Routes\Admin\PermissionsRoutes::bindings();
    }
258786
public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../../config/config.php', 'litecms.news');

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

        // Bind News to repository
        $this->app->bind(
            'Litecms\News\Interfaces\NewsRepositoryInterface',
            \Litecms\News\Repositories\Eloquent\NewsRepository::class
        );
        // Bind Category to repository
        $this->app->bind(
            'Litecms\News\Interfaces\CategoryRepositoryInterface',
            \Litecms\News\Repositories\Eloquent\CategoryRepository::class
        );
        // Bind Comment to repository
        $this->app->bind(
            'Litecms\News\Interfaces\CommentRepositoryInterface',
            \Litecms\News\Repositories\Eloquent\CommentRepository::class
        );
        // Bind Tag to repository
        $this->app->bind(
            'Litecms\News\Interfaces\TagRepositoryInterface',
            \Litecms\News\Repositories\Eloquent\TagRepository::class
        );

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

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

    }
127089
protected function registerPayloadFactory()
    {
        $this->app->singleton('lia.jwt.payload.factory', function ($app) {
            $factory = new PayloadFactory($app['lia.jwt.claim.factory'], $app['request'], $app['lia.jwt.validators.payload']);

            return $factory->setTTL($this->config('ttl'));
        });
    }
469800
public function register()
    {
        $this->bindContracts();
        $this->bindConfig();
        $this->bindSender();
        $this->bindResolver();
        $this->bindNotifynder();

        $this->registerSenders();
    }
1350547
public function register()
    {
        $this->app->singleton('taxonomy.factory', function ($app) {
            return new TaxonomyFactory($app);
        });

        $this->app->alias('taxonomy.factory', TaxonomyFactory::class);
    }