PHP Classes

File: src/Discretion/Policies/Unique.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   Discretion   src/Discretion/Policies/Unique.php   Download  
File: src/Discretion/Policies/Unique.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Discretion
Show contact forms and deliver encrypted mail
Author: By
Last change:
Date: 3 years ago
Size: 387 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);
namespace
ParagonIE\Discretion\Policies;

/**
 * Interface Unique
 *
 * This Struct must be 100% unique at runtime, which means using a global cache.
 *
 * @package ParagonIE\Discretion\Policies
 */
interface Unique
{
   
/**
     * @param int $id
     * @return string
     * @throws \Error
     */
   
public function getCacheKey(int $id = 0): string;
}