Skip to content

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

Description

@lonnieezell

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementPRs that improve existing functionalitieshelp wantedMore help is needed for the proper resolution of an issue or pull request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions