Files
php-uuid/src/CodecInterface.php
T
2015-04-25 12:11:37 -05:00

28 lines
444 B
PHP

<?php
namespace Ramsey\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);
}