public function getLastGroupPrefix() { if (empty($this->groupStack)) { return ''; } $group = end($this->groupStack); return $group['prefix']; }