Files
hocusfokus-web/kirby/src/Uuid/Identifiable.php
Bastian Allgeier 9c93e01c3a Upgrade to 3.8.1
2022-10-18 14:11:15 +02:00

22 lines
457 B
PHP

<?php
namespace Kirby\Uuid;
/**
* Qualifies an object (e.g. page, file) to
* be identifiable via UUID. Mostly useful for
* type-hinting inside the Uuid classes.
* @since 3.8.0
*
* @package Kirby Uuid
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier
* @license https://getkirby.com/license
*/
interface Identifiable
{
public function id();
public function uuid(): Uuid|null;
}