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

Make timestamp configurable for InMemory adapter #1438

Merged

Conversation

chapa
Copy link
Contributor

@chapa chapa commented Apr 2, 2022

Use an optional 'timestamp' option in the config to set the 'lastModified' attribute when writing or copying a file.
This allows using the memory adapter in testing environments for testing time-based behaviors.

Use an optional 'timestamp' option in the config to set the 'lastModified' attribute when writing or copying a file. This allows using the memory adapter in testing environments for testing time-based behaviors.
@frankdejonge frankdejonge merged commit 36619b5 into thephpleague:3.x Apr 3, 2022
@frankdejonge
Copy link
Member

[insert meme template]
Be me.
See a PR.
See PR has description.
See code follows conventions.
See PR adds test.
Merge the PR.

@chapa chapa deleted the inmemory-configurable-timestamp branch April 3, 2022 14:22
chapa added a commit to webalternatif/flysystem-failover-bundle that referenced this pull request Jun 14, 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