Version 1.0.0
This commit is contained in:
10
src/Object/ArrayInstantiable.php
Normal file
10
src/Object/ArrayInstantiable.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Diffhead\PHP\Interfaces\Object;
|
||||
|
||||
interface ArrayInstantiable
|
||||
{
|
||||
public static function fromArray(array $data): self;
|
||||
}
|
||||
10
src/Object/HasUuid.php
Normal file
10
src/Object/HasUuid.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Diffhead\PHP\Interfaces\Object;
|
||||
|
||||
interface HasUuid
|
||||
{
|
||||
public function uuid(): string;
|
||||
}
|
||||
Reference in New Issue
Block a user