Files
panel-pelican-dev/app/Contracts/Extensions/HashidsInterface.php

16 lines
369 B
PHP
Raw Normal View History

<?php
2024-03-12 22:39:16 -04:00
namespace App\Contracts\Extensions;
use Hashids\HashidsInterface as VendorHashidsInterface;
interface HashidsInterface extends VendorHashidsInterface
{
/**
* Decode an encoded hashid and return the first result.
*
* @throws \InvalidArgumentException
*/
public function decodeFirst(string $encoded, string $default = null): mixed;
}