src/Libs/Api.php
public static function decodeHashId($idHashed)
    {
        if (! config('odin.hashid.active')) {
            return $idHashed;
        }
        
        $hashids = App::make('Hashids');
        $hashId = $hashids->decode($idHashed);
        
        return (count($hashId) > 0) ? $hashId[0] : '';
    }
public static function decodeHashId($idHashed)
    {
        if (! config('odin.hashid.active')) {
            return $idHashed;
        }
        
        $hashids = App::make('Hashids');
        $hashId = $hashids->decode($idHashed);
        
        return (count($hashId) > 0) ? $hashId[0] : '';
    }
public static function decodeHashId ( $ idHashed ) { if ( ! config ( 'odin.hashid.active' ) ) { return $ idHashed ; } $ hashids = App :: make ( 'Hashids' ) ; $ hashId = $ hashids -> decode ( $ idHashed ) ; return ( count ( $ hashId ) > 0 ) ? $ hashId [ 0 ] : '' ; }
Return Id Decoded

@return array
Return Id Decoded