Refactor codecs to remove duplication

This commit is contained in:
Thibaud Fabre
2014-11-08 15:00:58 +01:00
parent 84123b2060
commit c07988fe31
7 changed files with 70 additions and 114 deletions
+5 -6
View File
@@ -21,12 +21,6 @@ class UuidFactory
*/
private $codec = null;
/**
*
* @var Codec
*/
private $guidCodec = null;
/**
*
* @var NodeProvider
@@ -79,6 +73,11 @@ class UuidFactory
$this->uuidBuilder = $features->getBuilder();
}
public function getCodec()
{
return $this->codec;
}
public function setTimeConverter(TimeConverter $converter)
{
$this->timeConverter = $converter;