public function groupBy($column) { if (Helpers\Validate::table($this->name)->field($column)) { $this->resetKeys = 0; $this->pending[__FUNCTION__] = $column; } return $this; }