File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 23
23
* [ Unlink] ( #unlink )
24
24
* [ Usage] ( #usage )
25
25
* [ INPUT HTML STRUCTURE] ( #input-html-structure )
26
- * [ Driver] ( #driver )
27
26
* [ Name] ( #name )
27
+ * [ Driver] ( #driver )
28
28
* [ BaseDir] ( #baseDir )
29
29
* [ Generate] ( #generate )
30
30
* [ Folder] ( #folder )
@@ -69,7 +69,7 @@ composer require tamedevelopers/file
69
69
```
70
70
require_once __DIR__ . '/vendor/autoload.php';
71
71
72
- use \ Tamedevelopers\File\File;
72
+ use Tamedevelopers\File\File;
73
73
74
74
$file = new File();
75
75
```
@@ -264,6 +264,15 @@ $upload->get('name);
264
264
<input type="file" name="avatar[]" multiple>
265
265
```
266
266
267
+ ### Name
268
+ - Takes one param ` string ` as input name
269
+ - Static method by default
270
+
271
+ ```
272
+ File::name('html_input_name');
273
+ ```
274
+
275
+
267
276
### Driver
268
277
- More drivers are to be added in the future
269
278
- By default driver is set to ` local `
@@ -294,14 +303,6 @@ File::name('avatar')
294
303
->driver('s3');
295
304
```
296
305
297
- ### Name
298
- - Takes one param ` string ` as input name
299
- - Static method by default
300
-
301
- ```
302
- File::name('html_input_name');
303
- ```
304
-
305
306
### BaseDir
306
307
- Takes one param ` string ` as base directory name
307
308
- This will override the global configuration settings (Domain and Server Path will be set)
You can’t perform that action at this time.
0 commit comments