put (string $path, StreamInterface | File | UploadedFile |string|resource $contents, mixed $options = [])

Write the contents of a file.

putFile ( File | UploadedFile |string $path, File | UploadedFile |string|array|null $file = null, mixed $options = [])

Store the uploaded file on the disk.

putFileAs ( File | UploadedFile |string $path, File | UploadedFile |string|array|null $file, string|array|null $name = null, mixed $options = [])

Store the uploaded file on the disk with a given name.