cbcf62086f
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
15 lines
377 B
PHP
15 lines
377 B
PHP
<?php
|
|
|
|
namespace Pterodactyl\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;
|
|
}
|