Skip to content

Commit

Permalink
Merge pull request #513 from chapcz/patch-1
Browse files Browse the repository at this point in the history
aggregation support for doctrine source
  • Loading branch information
juniwalk committed Apr 10, 2017
2 parents 719c4a6 + 3e5e1f1 commit 922a6f1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/DataSource/DoctrineDataSource.php
Expand Up @@ -360,5 +360,14 @@ public function getPlaceholder()
{
return 'param'.($this->placeholder++);
}

/**
* @param callable $aggregationCallback
* @return void
*/
public function processAggregation(callable $aggregationCallback)
{
call_user_func($aggregationCallback, $this->data_source);
}

}

0 comments on commit 922a6f1

Please sign in to comment.