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

[9.x] Add conditionable trait to Filesystem adapters #43450

Merged

Conversation

ralphjsmit
Copy link
Contributor

@ralphjsmit ralphjsmit commented Jul 27, 2022

This PR adds the Conditionable trait to the Filesystem adapters. This allows people to use the handy ->when() and ->unless() methods when using the Storage facade.

Adding the Conditionable trait will pair very nicely with a PR I'll submit in a minute (#43449).

@driesvints driesvints changed the title Add conditionable trait to Filesystem adapters [9.x] Add conditionable trait to Filesystem adapters Jul 28, 2022
@taylorotwell taylorotwell merged commit cb3ec66 into laravel:9.x Jul 29, 2022
Ken-vdE pushed a commit to Ken-vdE/framework that referenced this pull request Aug 9, 2022
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.

None yet

2 participants