public static function toSelect($selectedValue = null, array $options = null)
    {
        $selectOptions = array();
        $selectOptions['class'] = $options['class'] ?? "";
        $selectOptions['id'] = $options['id'] ?? "";
        $selectOptions['name'] = $options['name'] ?? "";

        $reflection = new \ReflectionClass(static::class);

        $html = "<select class='".$selectOptions['class']."' name='".$selectOptions['name']."'>";
        foreach($reflection->getConstants() as $constant => $value)
        {
            $html .= "<option value='{$value}' ".static::isSelectedHTML($selectedValue, $value).">".
                self::WordifyConst($constant)."</option>";
        }
        $html .= "</select>";
        return $html;
    }