encode($ids); } /** * Decode the current Hashid to array. * * @param string $hashid * * @return string|array */ public static function decode(string $hashid) { return self::$hashids->decode($hashid); } }