src/Providers/CmsCoreServiceProvider.php
protected function registerCoreComponents()
    {
        $this->app->singleton(Component::CORE, $this->getCoreConfig('bindings.' . Component::CORE));
        $this->app->singleton(Component::AUTH, $this->getCoreConfig('bindings.' . Component::AUTH));
        $this->app->singleton(Component::MODULES, $this->getCoreConfig('bindings.' . Component::MODULES));
        $this->app->singleton(Component::CACHE, $this->getCoreConfig('bindings.' . Component::CACHE));
        $this->app->singleton(Component::API, $this->getCoreConfig('bindings.' . Component::API));
        $this->app->singleton(Component::MENU, $this->getCoreConfig('bindings.' . Component::MENU));
        $this->app->singleton(Component::ACL, $this->getCoreConfig('bindings.' . Component::ACL));
        $this->app->singleton(Component::NOTIFIER, $this->getCoreConfig('bindings.' . Component::NOTIFIER));
        $this->app->singleton(Component::ASSETS, $this->getCoreConfig('bindings.' . Component::ASSETS, AssetManager::class));

        $this->app->bind(CoreInterface::class, Component::CORE);
        $this->app->bind(AuthenticatorInterface::class, Component::AUTH);
        $this->app->bind(ModuleManagerInterface::class, Component::MODULES);
        $this->app->bind(CacheInterface::class, Component::CACHE);
        $this->app->bind(ApiCoreInterface::class, Component::API);
        $this->app->bind(MenuRepositoryInterface::class, Component::MENU);
        $this->app->bind(AclRepositoryInterface::class, Component::ACL);
        $this->app->bind(NotifierInterface::class, Component::NOTIFIER);
        $this->app->bind(AssetManagerInterface::class, Component::ASSETS);

        return $this;
    }
protected function registerCoreComponents()
    {
        $this->app->singleton(Component::CORE, $this->getCoreConfig('bindings.' . Component::CORE));
        $this->app->singleton(Component::AUTH, $this->getCoreConfig('bindings.' . Component::AUTH));
        $this->app->singleton(Component::MODULES, $this->getCoreConfig('bindings.' . Component::MODULES));
        $this->app->singleton(Component::CACHE, $this->getCoreConfig('bindings.' . Component::CACHE));
        $this->app->singleton(Component::API, $this->getCoreConfig('bindings.' . Component::API));
        $this->app->singleton(Component::MENU, $this->getCoreConfig('bindings.' . Component::MENU));
        $this->app->singleton(Component::ACL, $this->getCoreConfig('bindings.' . Component::ACL));
        $this->app->singleton(Component::NOTIFIER, $this->getCoreConfig('bindings.' . Component::NOTIFIER));
        $this->app->singleton(Component::ASSETS, $this->getCoreConfig('bindings.' . Component::ASSETS, AssetManager::class));

        $this->app->bind(CoreInterface::class, Component::CORE);
        $this->app->bind(AuthenticatorInterface::class, Component::AUTH);
        $this->app->bind(ModuleManagerInterface::class, Component::MODULES);
        $this->app->bind(CacheInterface::class, Component::CACHE);
        $this->app->bind(ApiCoreInterface::class, Component::API);
        $this->app->bind(MenuRepositoryInterface::class, Component::MENU);
        $this->app->bind(AclRepositoryInterface::class, Component::ACL);
        $this->app->bind(NotifierInterface::class, Component::NOTIFIER);
        $this->app->bind(AssetManagerInterface::class, Component::ASSETS);

        return $this;
    }
protected function registerCoreComponents ( ) { $ this -> app -> singleton ( Component :: CORE , $ this -> getCoreConfig ( 'bindings.' . Component :: CORE ) ) ; $ this -> app -> singleton ( Component :: AUTH , $ this -> getCoreConfig ( 'bindings.' . Component :: AUTH ) ) ; $ this -> app -> singleton ( Component :: MODULES , $ this -> getCoreConfig ( 'bindings.' . Component :: MODULES ) ) ; $ this -> app -> singleton ( Component :: CACHE , $ this -> getCoreConfig ( 'bindings.' . Component :: CACHE ) ) ; $ this -> app -> singleton ( Component :: API , $ this -> getCoreConfig ( 'bindings.' . Component :: API ) ) ; $ this -> app -> singleton ( Component :: MENU , $ this -> getCoreConfig ( 'bindings.' . Component :: MENU ) ) ; $ this -> app -> singleton ( Component :: ACL , $ this -> getCoreConfig ( 'bindings.' . Component :: ACL ) ) ; $ this -> app -> singleton ( Component :: NOTIFIER , $ this -> getCoreConfig ( 'bindings.' . Component :: NOTIFIER ) ) ; $ this -> app -> singleton ( Component :: ASSETS , $ this -> getCoreConfig ( 'bindings.' . Component :: ASSETS , AssetManager :: class ) ) ; $ this -> app -> bind ( CoreInterface :: class , Component :: CORE ) ; $ this -> app -> bind ( AuthenticatorInterface :: class , Component :: AUTH ) ; $ this -> app -> bind ( ModuleManagerInterface :: class , Component :: MODULES ) ; $ this -> app -> bind ( CacheInterface :: class , Component :: CACHE ) ; $ this -> app -> bind ( ApiCoreInterface :: class , Component :: API ) ; $ this -> app -> bind ( MenuRepositoryInterface :: class , Component :: MENU ) ; $ this -> app -> bind ( AclRepositoryInterface :: class , Component :: ACL ) ; $ this -> app -> bind ( NotifierInterface :: class , Component :: NOTIFIER ) ; $ this -> app -> bind ( AssetManagerInterface :: class , Component :: ASSETS ) ; return $ this ; }
Registers core components for the CMS.

@return $this
Registers core components for the CMS .