mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-04 03:35:02 +02:00
23 lines
359 B
PHP
23 lines
359 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Contracts\Models;
|
|
|
|
/**
|
|
* Interface HasHashids.
|
|
*
|
|
* @property string $hashid
|
|
*/
|
|
interface HasHashids
|
|
{
|
|
final public const ATTRIBUTE_HASHID = 'hashid';
|
|
|
|
/**
|
|
* Get the numbers used to encode the model's hashids.
|
|
*
|
|
* @return array<int, int>
|
|
*/
|
|
public function hashids(): array;
|
|
}
|