| Param/Function | Description |
|---|---|
| file-upload | name of the file <input> field |
| $sampleName | could also be dynamically generated string or the name of the file uploaded by the user |
| app_path() | is Laravel helper to provide the absolute path to the application |
| getCLientOriginalExtension() | Laravel wrapper to fetch the extension of the file uploaded by the user as it was on the user machine |