public function __construct($dataSource, $dataMember)
{
if (!is_array($dataSource) && !$dataSource instanceof IDataSource && !$dataSource instanceof \Traversable) {
throw new TInvalidDataTypeException('readonlydatasource_datasource_invalid');
}
$this->_dataSource = $dataSource;
$this->_dataMember = $dataMember;
}