mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-03 21:05:45 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
24 lines
533 B
PHP
24 lines
533 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Facades;
|
|
|
|
use Illuminate\Support\Facades\Facade;
|
|
use Pterodactyl\Contracts\Extensions\HashidsInterface;
|
|
|
|
/**
|
|
* @method static string encode(mixed ...$numbers)
|
|
* @method static array<int, int> decode(string $hash)
|
|
* @method static int|string|null decodeFirst(string $encoded, ?string $default = null)
|
|
*
|
|
* @see HashidsInterface
|
|
*/
|
|
class Hashids extends Facade
|
|
{
|
|
protected static function getFacadeAccessor(): string
|
|
{
|
|
return HashidsInterface::class;
|
|
}
|
|
}
|