Skip to content

[9.x] Added whenIsUlid to Stringable.#45183

Merged
taylorotwell merged 2 commits into
laravel:9.xfrom
michaelnabil230:stringable
Dec 5, 2022
Merged

[9.x] Added whenIsUlid to Stringable.#45183
taylorotwell merged 2 commits into
laravel:9.xfrom
michaelnabil230:stringable

Conversation

@michaelnabil230

@michaelnabil230 michaelnabil230 commented Dec 5, 2022

Copy link
Copy Markdown
Contributor

This PR is to add the method whenIsUlid in the stringable class

Ex:

str('01GJSNW9MAF792C0XYY8RX6QFT')->whenIsUlid(function () {
    // Your code
});

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

Successfully merging this pull request may close these issues.

2 participants