lib/components/dataInterface/connectors/file/DataSource.php
public function createModel($id, $attributes)
    {
        return Yii::createObject(['class' => $this->foreignModelClass, 'tableName' => $this->fileSource->id, 'interface' => $this->module, 'id' => $id, 'attributes' => $attributes]);
    }
public function createModel($id, $attributes)
    {
        return Yii::createObject(['class' => $this->foreignModelClass, 'tableName' => $this->fileSource->id, 'interface' => $this->module, 'id' => $id, 'attributes' => $attributes]);
    }
Create the model.

@param string|int         $id         the primary key for the model
@param array $attributes attrribute for the model

@return Model the foreign model