make aggregate method public.

This commit is contained in:
Taylor Otwell
2012-01-24 13:36:22 -06:00
parent c6e814a6cc
commit 70dd657e80
2 changed files with 2 additions and 2 deletions

View File

@@ -629,7 +629,7 @@ class Query {
* @param string $column
* @return mixed
*/
private function aggregate($aggregator, $column)
public function aggregate($aggregator, $column)
{
$this->aggregate = compact('aggregator', 'column');