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');

View File

@@ -78,7 +78,7 @@ class Schema {
// For some extra syntax sugar, we'll check for any implicit
// indexes on the table. The developer may specify the index
// type on the fluent column declaration. Here we'll find
// any such implicit index and add the actual command.
// any implicit indexes and add the commands.
foreach ($table->columns as $column)
{
foreach (array('primary', 'unique', 'fulltext', 'index') as $key)