src/TerminalObject/Dynamic/Checkbox/CheckboxGroup.php
protected function getCurrent()
    {
        foreach ($this->checkboxes as $key => $option) {
            if ($option->isCurrent()) {
                return [$option, $key];
            }
        }
    }
protected function getCurrent()
    {
        foreach ($this->checkboxes as $key => $option) {
            if ($option->isCurrent()) {
                return [$option, $key];
            }
        }
    }
protected function getCurrent ( ) { foreach ( $ this -> checkboxes as $ key => $ option ) { if ( $ option -> isCurrent ( ) ) { return [ $ option , $ key ] ; } } }
Get the currently selected option

@return array
Get the currently selected option