public static function revert($input, $inputFormat = Code::FORMAT_ALNUM, $minLength = null)
    {
        $number = self::convertBase($input, $inputFormat, Code::FORMAT_NUMBER);

        if (is_int($minLength)) {
            $number -= self::getMinForlength($inputFormat, $minLength);
        }

        return $number;
    }
public static function revert($input, $inputFormat = Code::FORMAT_ALNUM, $minLength = null)
    {
        $number = self::convertBase($input, $inputFormat, Code::FORMAT_NUMBER);

        if (is_int($minLength)) {
            $number -= self::getMinForlength($inputFormat, $minLength);
        }

        return $number;
    }
public static function revert ( $ input , $ inputFormat = Code :: FORMAT_ALNUM , $ minLength = null ) { $ number = self :: convertBase ( $ input , $ inputFormat , Code :: FORMAT_NUMBER ) ; if ( is_int ( $ minLength ) ) { $ number -= self :: getMinForlength ( $ inputFormat , $ minLength ) ; } return $ number ; }
Revert a code to it's original number

@param $input
@param string $inputFormat
@param null $minLength

@return int
Revert a code to it s original number