Skip to content

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

Merged
taylorotwell merged 1 commit intolaravel:9.xfrom
ralphjsmit:add-conditionable-to-filesystem
Jul 29, 2022
Merged

[9.x] Add conditionable trait to Filesystem adapters#43450
taylorotwell merged 1 commit intolaravel:9.xfrom
ralphjsmit:add-conditionable-to-filesystem

Conversation

@ralphjsmit
Copy link
Copy Markdown
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.

2 participants