Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ramsey\Uuid\Uuid::uuid6() is not an instance of Ramsey\Uuid\Nonstandard\UuidV6 anymore #347

Open
haclong opened this issue Oct 18, 2020 · 2 comments

Comments

@haclong
Copy link

haclong commented Oct 18, 2020

hello
as said in the title, this :
$uuid = Ramsey\Uuid\Uuid::uuid6() ; $uuid instanceof Ramsey\Uuid\Nonstandard\UuidV6 now returns false...

if i do
get_class($uuid),
i'll get : Ramsey\Uuid\Lazy\LazyUuidFromString object...

since i would prefer to be sure to have the time ordered Uuid, is it something i still can check somehow ?

@ramsey
Copy link
Owner

ramsey commented Oct 19, 2020

Note to me, so that these get linked together: this is related to #327.

@danfoley
Copy link

following this topic as well, I really want to be able to verify that a Uuid::uuid6 is an instance of Ramsey\Uuid\Nonstandard\Uuidv6 otherwise i have no of knowing that the uuid being passed is a uuid type6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants