public function exportDataSets($dataSetConfig = null)
    {
        $response = [];

        foreach ($this->getDataSets() as $set) {
            if ($set instanceof DataSet) {
                $response[] = $set->export($dataSetConfig);
            } else {
                $response[] = $set;
            }
        }

        return $response;
    }
public function exportDataSets($dataSetConfig = null)
    {
        $response = [];

        foreach ($this->getDataSets() as $set) {
            if ($set instanceof DataSet) {
                $response[] = $set->export($dataSetConfig);
            } else {
                $response[] = $set;
            }
        }

        return $response;
    }
public function exportDataSets ( $ dataSetConfig = null ) { $ response = [ ] ; foreach ( $ this -> getDataSets ( ) as $ set ) { if ( $ set instanceof DataSet ) { $ response [ ] = $ set -> export ( $ dataSetConfig ) ; } else { $ response [ ] = $ set ; } } return $ response ; }
Export Data Sets

@param DataSetConfig|null $dataSetConfig

@return array
Export Data Sets