Skip to content
Discussion options

You must be logged in to vote

@tanthammar Despite the whereStartsWith and whereDoesntStartWith DocBlocks saying it only accepts a string, you can actually pass an array to these methods as it's being passed to Str::startsWith($haystack, $needles) which accepts an array too.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tanthammar
Comment options

Answer selected by tanthammar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants