Files

15 lines
363 B
PHP
Raw Permalink Normal View History

2017-09-09 23:55:21 -05:00
<?php
2026-10-05 18:10:18 -04:00
declare(strict_types=1);
2017-09-09 23:55:21 -05:00
namespace Pterodactyl\Contracts\Extensions;
use Hashids\HashidsInterface as VendorHashidsInterface;
2026-10-05 18:10:18 -04:00
use InvalidArgumentException;
2017-09-09 23:55:21 -05:00
interface HashidsInterface extends VendorHashidsInterface
{
2026-10-11 23:50:53 -04:00
/** @throws InvalidArgumentException */
2026-10-05 18:10:18 -04:00
public function decodeFirst(string $encoded, ?string $default = null): int|string|null;
2017-09-09 23:55:21 -05:00
}