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

Add overwrite option to UploadedFile->move() #275

Closed
lonnieezell opened this issue Sep 24, 2016 · 0 comments
Closed

Add overwrite option to UploadedFile->move() #275

lonnieezell opened this issue Sep 24, 2016 · 0 comments
Labels
enhancement PRs that improve existing functionalities help wanted More help is needed for the proper resolution of an issue or pull request
Milestone

Comments

@lonnieezell
Copy link
Member

Method syntax should be: public function move(string $targetPath, string $name = null, bool $overwrite = false).

If $overwrite = false, it will add an incrementing counter to the name, like File_1.txt, File_2.txt, etc.

@lonnieezell lonnieezell added enhancement PRs that improve existing functionalities help wanted More help is needed for the proper resolution of an issue or pull request labels Sep 24, 2016
@lonnieezell lonnieezell added this to the Pre-Alpha 2 milestone Sep 24, 2016
lonnieezell added a commit that referenced this issue Oct 5, 2016
Added overwrite option to UploadedFile->move(), Issue #275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement PRs that improve existing functionalities help wanted More help is needed for the proper resolution of an issue or pull request
Projects
None yet
Development

No branches or pull requests

1 participant