Rename UuidBuilder to Builder\UuidBuilderInterface

This commit is contained in:
Ben Ramsey
2015-07-16 10:06:16 -05:00
parent 3f0ba1ed00
commit db27dc1680
5 changed files with 9 additions and 10 deletions
+3 -2
View File
@@ -21,6 +21,7 @@ use Ramsey\Uuid\Provider\NodeProviderInterface;
use Ramsey\Uuid\Provider\TimeProviderInterface;
use Ramsey\Uuid\Generator\RandomGeneratorInterface;
use Ramsey\Uuid\Codec\CodecInterface;
use Ramsey\Uuid\Builder\UuidBuilderInterface;
class UuidFactory implements UuidFactoryInterface
{
@@ -62,7 +63,7 @@ class UuidFactory implements UuidFactoryInterface
/**
*
* @var UuidBuilder
* @var UuidBuilderInterface
*/
private $uuidBuilder = null;
@@ -128,7 +129,7 @@ class UuidFactory implements UuidFactoryInterface
$this->numberConverter = $converter;
}
public function setUuidBuilder(UuidBuilder $builder)
public function setUuidBuilder(UuidBuilderInterface $builder)
{
$this->uuidBuilder = $builder;
}