Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/app/Contracts/Extensions/HashidsInterface.php
10284 views
1
<?php
2
3
namespace Pterodactyl\Contracts\Extensions;
4
5
use Hashids\HashidsInterface as VendorHashidsInterface;
6
7
interface HashidsInterface extends VendorHashidsInterface
8
{
9
/**
10
* Decode an encoded hashid and return the first result.
11
*
12
* @throws \InvalidArgumentException
13
*/
14
public function decodeFirst(string $encoded, ?string $default = null): mixed;
15
}
16
17