Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #251 from lucasgranberg/patch-1
Browse files Browse the repository at this point in the history
Throw exception when trying to use export functionallity.
  • Loading branch information
dbu committed Apr 4, 2014
2 parents 39a81d9 + 9c3f9f8 commit 75af28a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Model/ModelManager.php
Expand Up @@ -545,12 +545,10 @@ public function collectionRemoveElement(&$collection, &$element)

/**
* {@inheritDoc}
*
* @return null Not really implemented.
*/
public function getDataSourceIterator(DatagridInterface $datagrid, array $fields, $firstResult = null, $maxResult = null)
{
return null;
throw \RuntimeException("Datasourceiterator not implemented.");
}

/**
Expand Down

0 comments on commit 75af28a

Please sign in to comment.