-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Uid] Added toHexString method to AbstractUid class #45945
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
Conversation
Can't fix the If the branch is 6.1 will this be integrated into 6.0/5.4 versions or only 6.1? |
Only in 6.1 |
Should we just add it in the inspect commands? IMHO, adding it to We could also add it to the |
I can add I can implement those methods in this PR just provide of additional places it ned to be supported. |
I recommend waiting for @nicolas-grekas opinion before putting in any extra work. |
I don't see the need for |
Any progress on this? |
Thank you @aurimasniekis. |
Added a small method to Uid component
AbstractUid
class calledtoHex
which would output binary value of identifier as prefixed hex string for e.g.0x0000000
. This is really useful when using with Doctrine for Id generation as the storage of Uid is a binary format in the database, and in most cases, it is usually used with hex format to query it.This PR is from #45939 as I needed to change the source branch to 6.1