protected function updateGroupStack(array $attributes = array()) { if (count($this->groupStack) > 0) { $attributes = $this->mergeWithLastGroup($attributes); } $this->groupStack[] = $attributes; }