2017-09-10 04:55:21 +00:00
|
|
|
<?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
|
|
|
|
*/
|
2022-10-14 16:59:20 +00:00
|
|
|
public function decodeFirst(string $encoded, string $default = null): mixed;
|
2017-09-10 04:55:21 +00:00
|
|
|
}
|