public static function toDictionary()
    {
        $className = get_called_class();
        $reflectionClass = new ReflectionClass($className);
        $dictionary = $reflectionClass->getConstants();
        
        unset($dictionary['DEFAULT_VALUE']);

        return $dictionary;
    }
public static function toDictionary()
    {
        $className = get_called_class();
        $reflectionClass = new ReflectionClass($className);
        $dictionary = $reflectionClass->getConstants();
        
        unset($dictionary['DEFAULT_VALUE']);

        return $dictionary;
    }
public static function toDictionary ( ) { $ className = get_called_class ( ) ; $ reflectionClass = new ReflectionClass ( $ className ) ; $ dictionary = $ reflectionClass -> getConstants ( ) ; unset ( $ dictionary [ 'DEFAULT_VALUE' ] ) ; return $ dictionary ; }
Returns the enum as dictionary.

@return array
Returns the enum as dictionary .