mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 00:34:44 +02:00
16 lines
369 B
PHP
16 lines
369 B
PHP
<?php
|
|
|
|
namespace App\Contracts\Extensions;
|
|
|
|
use Hashids\HashidsInterface as VendorHashidsInterface;
|
|
|
|
interface HashidsInterface extends VendorHashidsInterface
|
|
{
|
|
/**
|
|
* Decode an encoded hashid and return the first result.
|
|
*
|
|
* @throws \InvalidArgumentException
|
|
*/
|
|
public function decodeFirst(string $encoded, string $default = null): mixed;
|
|
}
|