Initial commit
This commit is contained in:
commit
08a8a71c55
631 changed files with 139902 additions and 0 deletions
21
public/kirby/src/Uuid/Identifiable.php
Normal file
21
public/kirby/src/Uuid/Identifiable.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue