Files
pterodactyl-panel/app/Contracts/Extensions/HashidsInterface.php
T

16 lines
378 B
PHP
Raw Normal View History

2017-09-09 23:55:21 -05: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
*/
2024-10-21 19:18:20 -06:00
public function decodeFirst(string $encoded, ?string $default = null): mixed;
2017-09-09 23:55:21 -05:00
}