Interfaces should have the suffix "Interface" in their names

This commit is contained in:
Ben Ramsey
2014-11-08 16:27:20 -05:00
parent ebea9b969b
commit 680fd794cb
13 changed files with 23 additions and 23 deletions
+27
View File
@@ -0,0 +1,27 @@
<?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);
}