lib/components/dataInterface/connectors/file/Module.php
public function getForeignModelConfig($sourceFile, $modelName)
    {
        $config = ['class' => Model::className()];
        if (isset($this->foreignModelsConfig[$modelName])) {
            $config = array_merge($config, $this->foreignModelsConfig[$modelName]);
        }
        $config['modelName'] = $modelName;
        $config['sourceFile'] = $sourceFile;
        $config['interface'] = $this;

        return $config;
    }
public function getForeignModelConfig($sourceFile, $modelName)
    {
        $config = ['class' => Model::className()];
        if (isset($this->foreignModelsConfig[$modelName])) {
            $config = array_merge($config, $this->foreignModelsConfig[$modelName]);
        }
        $config['modelName'] = $modelName;
        $config['sourceFile'] = $sourceFile;
        $config['interface'] = $this;

        return $config;
    }
public function getForeignModelConfig ( $ sourceFile , $ modelName ) { $ config = [ 'class' => Model :: className ( ) ] ; if ( isset ( $ this -> foreignModelsConfig [ $ modelName ] ) ) { $ config = array_merge ( $ config , $ this -> foreignModelsConfig [ $ modelName ] ) ; } $ config [ 'modelName' ] = $ modelName ; $ config [ 'sourceFile' ] = $ sourceFile ; $ config [ 'interface' ] = $ this ; return $ config ; }
Get foreign model config.

@param [[@doctodo param_type:sourceFile]] $sourceFile [[@doctodo param_description:sourceFile]]
@param [[@doctodo param_type:modelName]]  $modelName  [[@doctodo param_description:modelName]]

@return [[@doctodo return_type:getForeignModelConfig]] [[@doctodo return_description:getForeignModelConfig]]
Get foreign model config .