platform/core/app/Traits/LoadAndPublicTrait.php
/**
     * Load config of module and merge to app config
     * @param $fileNames
     * @param $path
     * @return LoadAndPublicTrait
     */
Load config of module and merge to app config
@param $fileNames
@param $path
@return LoadAndPublicTrait
Load config of module and merge to app config @param $fileNames @param $path @return LoadAndPublicTrait
public function loadAndPublicConfigs($fileNames): self
    {
        if (!is_array($fileNames))
            $fileNames = [$fileNames];
        foreach ($fileNames as $fileName) {
            $this->mergeConfigFrom($this->getConfigPath($fileName), $this->getDotNamespace() . '.' . $fileName);
        }
        return $this;
    }
public function loadAndPublicConfigs ( $ fileNames ) : self { if ( ! is_array ( $ fileNames ) ) $ fileNames = [ $ fileNames ] ; foreach ( $ fileNames as $ fileName ) { $ this -> mergeConfigFrom ( $ this -> getConfigPath ( $ fileName ) , $ this -> getDotNamespace ( ) . '.' . $ fileName ) ; } return $ this ; }
Load config of module and merge to app config
 @param $fileNames
 @param $path
 @return LoadAndPublicTrait
Load config of module and merge to app config @param $fileNames @param $path @return LoadAndPublicTrait