Files
php-uuid/src/CodecInterface.php
T

28 lines
445 B
PHP

<?php
namespace Rhumsaa\Uuid;
interface CodecInterface
{
/**
* @return string
*/
public function encode(UuidInterface $uuid);
/**
* @return string
*/
public function encodeBinary(UuidInterface $uuid);
/**
* @return UuidInterface
*/
public function decode($encodedUuid);
/**
* @param string $bytes
* @return UuidInterface
*/
public function decodeBytes($bytes);
}