public static function getCheckbox($checked) {
        if (true === $checked) {
            return sprintf("<fg=green;options=bold>%s</>", OSHelper::isWindows() ? "OK" : "\xE2\x9C\x94");
        }
        return sprintf("<fg=yellow;options=bold>%s</>", OSHelper::isWindows() ? "KO" : "!");
    }
public static function getCheckbox($checked) {
        if (true === $checked) {
            return sprintf("<fg=green;options=bold>%s</>", OSHelper::isWindows() ? "OK" : "\xE2\x9C\x94");
        }
        return sprintf("<fg=yellow;options=bold>%s</>", OSHelper::isWindows() ? "KO" : "!");
    }
public static function getCheckbox ( $ checked ) { if ( true === $ checked ) { return sprintf ( "<fg=green;options=bold>%s</>" , OSHelper :: isWindows ( ) ? "OK" : "\xE2\x9C\x94" ) ; } return sprintf ( "<fg=yellow;options=bold>%s</>" , OSHelper :: isWindows ( ) ? "KO" : "!" ) ; }
Get a checkbox.

@param bool $checked Checked ?
@return string Returns the checkbox.
Get a checkbox .