src/Providers/CmsCoreServiceProvider.php
protected function registerConfiguredAliases()
    {
        $aliases = $this->getCoreConfig('aliases', []);

        if (empty($aliases)) {
            // @codeCoverageIgnoreStart
            return $this;
            // @codeCoverageIgnoreEnd
        }

        $aliasLoader = AliasLoader::getInstance();

        foreach ($aliases as $alias => $binding) {
            $aliasLoader->alias($alias, $binding);
        }

        return $this;
    }
protected function registerConfiguredAliases()
    {
        $aliases = $this->getCoreConfig('aliases', []);

        if (empty($aliases)) {
            // @codeCoverageIgnoreStart
            return $this;
            // @codeCoverageIgnoreEnd
        }

        $aliasLoader = AliasLoader::getInstance();

        foreach ($aliases as $alias => $binding) {
            $aliasLoader->alias($alias, $binding);
        }

        return $this;
    }
protected function registerConfiguredAliases ( ) { $ aliases = $ this -> getCoreConfig ( 'aliases' , [ ] ) ; if ( empty ( $ aliases ) ) { // @codeCoverageIgnoreStart return $ this ; // @codeCoverageIgnoreEnd } $ aliasLoader = AliasLoader :: getInstance ( ) ; foreach ( $ aliases as $ alias => $ binding ) { $ aliasLoader -> alias ( $ alias , $ binding ) ; } return $ this ; }
Registers any aliases defined in the configuration.

@return $this
Registers any aliases defined in the configuration .