src/Mapper/BaseGroupedMapper.php
protected function getCurrentGroupName()
    {
        if (!$this->currentGroup) {
            $this->with($this->admin->getLabel(), ['auto_created' => true]);
        }

        return $this->currentGroup;
    }
protected function getCurrentGroupName()
    {
        if (!$this->currentGroup) {
            $this->with($this->admin->getLabel(), ['auto_created' => true]);
        }

        return $this->currentGroup;
    }
protected function getCurrentGroupName ( ) { if ( ! $ this -> currentGroup ) { $ this -> with ( $ this -> admin -> getLabel ( ) , [ 'auto_created' => true ] ) ; } return $ this -> currentGroup ; }
Return the name of the currently selected group. The method also makes
sure a valid group name is currently selected.

Note that this can have the side effect to change the 'group' value
returned by the getGroup function

@return string
Return the name of the currently selected group . The method also makes sure a valid group name is currently selected .