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

[5.5] Add anyFilled() to Request #21388

Closed
wants to merge 1 commit into from
Closed

[5.5] Add anyFilled() to Request #21388

wants to merge 1 commit into from

Conversation

KennedyTedesco
Copy link
Contributor

Currently I have a macro for it. Looks like a good idea put it on the Request class.

Currently I have a macro for it. Looks like a good idea put it on the Request class.
@morloderex
Copy link
Contributor

Isn't this just the old has method behaviour?

@KennedyTedesco
Copy link
Contributor Author

We have has(), hasAny(), filled() and now we have a chance to have anyFilled().

has() just verifies if the item exists and filled() if exists and if isn't empty.

@taylorotwell
Copy link
Member

No plans to add to core.

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.

3 participants