public function getLastGroupPrefix() { if (count($this->groupStack) > 0) { return array_get(last($this->groupStack), 'prefix', ''); } return null; }