wildcardMatch() helper #41897
Unanswered
SalihBorucu
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking to use match with wildcards
*
with array keys.One solution I found was to use
match()
in below format but IMO it doesn't look very "Laravel"I couldn’t find anything similar so I made a helper. Does this exist or should I PR this just in case?
Would anyone else think that is useful?
Example usage:
Beta Was this translation helpful? Give feedback.
All reactions