mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-16 16:17:43 +03:00
Extract factory interface & add basic pecl impl
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Rhumsaa\Uuid;
|
||||
|
||||
interface UuidFactoryInterface
|
||||
{
|
||||
public function uuid1($node = null, $clockSeq = null);
|
||||
|
||||
public function uuid3($ns, $name);
|
||||
|
||||
public function uuid4();
|
||||
|
||||
public function uuid5($ns, $name);
|
||||
|
||||
public function fromBytes($bytes);
|
||||
|
||||
public function fromString($name);
|
||||
|
||||
public function fromInteger($integer);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user