aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey/uuid/src/Codec
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ramsey/uuid/src/Codec')
-rw-r--r--vendor/ramsey/uuid/src/Codec/StringCodec.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/vendor/ramsey/uuid/src/Codec/StringCodec.php b/vendor/ramsey/uuid/src/Codec/StringCodec.php
index 4b6e4e5b9..58c9f5806 100644
--- a/vendor/ramsey/uuid/src/Codec/StringCodec.php
+++ b/vendor/ramsey/uuid/src/Codec/StringCodec.php
@@ -37,12 +37,18 @@ use function substr;
class StringCodec implements CodecInterface
{
/**
+ * @var UuidBuilderInterface
+ */
+ private $builder;
+
+ /**
* Constructs a StringCodec
*
* @param UuidBuilderInterface $builder The builder to use when encoding UUIDs
*/
- public function __construct(private UuidBuilderInterface $builder)
+ public function __construct(UuidBuilderInterface $builder)
{
+ $this->builder = $builder;
}
public function encode(UuidInterface $uuid): string