protected function unserialize($value)
    {
        if (filter_var($value, FILTER_VALIDATE_INT) !== false) {
            return (int) $value;
        }

        if (is_numeric($value)) {
            return (float) $value;
        }

        return unserialize($value);
    }
protected function unserialize($value)
    {
        if (filter_var($value, FILTER_VALIDATE_INT) !== false) {
            return (int) $value;
        }

        if (is_numeric($value)) {
            return (float) $value;
        }

        return unserialize($value);
    }
protected function unserialize ( $ value ) { if ( filter_var ( $ value , FILTER_VALIDATE_INT ) !== false ) { return ( int ) $ value ; } if ( is_numeric ( $ value ) ) { return ( float ) $ value ; } return unserialize ( $ value ) ; }
Unserialize the value.

@param  mixed  $value
@return mixed
Unserialize the value .