lib/components/dataInterface/connectors/generic/DataSource.php
public function createLocalDataItem($model, $config = [])
    {
        $config['isForeign'] = false;
        $config['localObject'] = $model;

        return $this->createDataItem($config);
    }
public function createLocalDataItem($model, $config = [])
    {
        $config['isForeign'] = false;
        $config['localObject'] = $model;

        return $this->createDataItem($config);
    }
[[@doctodo method_description:createLocalDataItem]].

@param [[@doctodo param_type:model]] $model  [[@doctodo param_description:model]]
@param array                         $config [[@doctodo param_description:config]] [optional]

@return [[@doctodo return_type:createLocalDataItem]] [[@doctodo return_description:createLocalDataItem]]