1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,57 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Illuminate\Support\Facades; |
|
4 |
- |
|
5 |
-/** |
|
6 |
- * @method static bool exists(string $path) |
|
7 |
- * @method static string get(string $path, bool $lock = false) |
|
8 |
- * @method static string sharedGet(string $path) |
|
9 |
- * @method static mixed getRequire(string $path) |
|
10 |
- * @method static mixed requireOnce(string $file) |
|
11 |
- * @method static string hash(string $path) |
|
12 |
- * @method static int|bool put(string $path, string $contents, bool $lock = false) |
|
13 |
- * @method static void replace(string $path, string $content) |
|
14 |
- * @method static int prepend(string $path, string $data) |
|
15 |
- * @method static int append(string $path, string $data) |
|
16 |
- * @method static mixed chmod(string $path, int|null $mode = null) |
|
17 |
- * @method static bool delete(string|array $paths) |
|
18 |
- * @method static bool move(string $path, string $target) |
|
19 |
- * @method static bool copy(string $path, string $target) |
|
20 |
- * @method static void link(string $target, string $link) |
|
21 |
- * @method static string name(string $path) |
|
22 |
- * @method static string basename(string $path) |
|
23 |
- * @method static string dirname(string $path) |
|
24 |
- * @method static string extension(string $path) |
|
25 |
- * @method static string type(string $path) |
|
26 |
- * @method static string|false mimeType(string $path) |
|
27 |
- * @method static int size(string $path) |
|
28 |
- * @method static int lastModified(string $path) |
|
29 |
- * @method static bool isDirectory(string $directory) |
|
30 |
- * @method static bool isReadable(string $path) |
|
31 |
- * @method static bool isWritable(string $path) |
|
32 |
- * @method static bool isFile(string $file) |
|
33 |
- * @method static array glob(string $pattern, int $flags = 0) |
|
34 |
- * @method static \Symfony\Component\Finder\SplFileInfo[] files(string $directory, bool $hidden = false) |
|
35 |
- * @method static \Symfony\Component\Finder\SplFileInfo[] allFiles(string $directory, bool $hidden = false) |
|
36 |
- * @method static array directories(string $directory) |
|
37 |
- * @method static bool makeDirectory(string $path, int $mode = 0755, bool $recursive = false, bool $force = false) |
|
38 |
- * @method static bool moveDirectory(string $from, string $to, bool $overwrite = false) |
|
39 |
- * @method static bool copyDirectory(string $directory, string $destination, int|null $options = null) |
|
40 |
- * @method static bool deleteDirectory(string $directory, bool $preserve = false) |
|
41 |
- * @method static bool deleteDirectories(string $directory) |
|
42 |
- * @method static bool cleanDirectory(string $directory) |
|
43 |
- * |
|
44 |
- * @see \Illuminate\Filesystem\Filesystem |
|
45 |
- */ |
|
46 |
-class File extends Facade |
|
47 |
-{ |
|
48 |
- /** |
|
49 |
- * Get the registered name of the component. |
|
50 |
- * |
|
51 |
- * @return string |
|
52 |
- */ |
|
53 |
- protected static function getFacadeAccessor() |
|
54 |
- { |
|
55 |
- return 'files'; |
|
56 |
- } |
|
57 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,57 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Illuminate\Support\Facades; |
|
4 |
+ |
|
5 |
+/** |
|
6 |
+ * @method static bool exists(string $path) |
|
7 |
+ * @method static string get(string $path, bool $lock = false) |
|
8 |
+ * @method static string sharedGet(string $path) |
|
9 |
+ * @method static mixed getRequire(string $path) |
|
10 |
+ * @method static mixed requireOnce(string $file) |
|
11 |
+ * @method static string hash(string $path) |
|
12 |
+ * @method static int|bool put(string $path, string $contents, bool $lock = false) |
|
13 |
+ * @method static void replace(string $path, string $content) |
|
14 |
+ * @method static int prepend(string $path, string $data) |
|
15 |
+ * @method static int append(string $path, string $data) |
|
16 |
+ * @method static mixed chmod(string $path, int|null $mode = null) |
|
17 |
+ * @method static bool delete(string|array $paths) |
|
18 |
+ * @method static bool move(string $path, string $target) |
|
19 |
+ * @method static bool copy(string $path, string $target) |
|
20 |
+ * @method static void link(string $target, string $link) |
|
21 |
+ * @method static string name(string $path) |
|
22 |
+ * @method static string basename(string $path) |
|
23 |
+ * @method static string dirname(string $path) |
|
24 |
+ * @method static string extension(string $path) |
|
25 |
+ * @method static string type(string $path) |
|
26 |
+ * @method static string|false mimeType(string $path) |
|
27 |
+ * @method static int size(string $path) |
|
28 |
+ * @method static int lastModified(string $path) |
|
29 |
+ * @method static bool isDirectory(string $directory) |
|
30 |
+ * @method static bool isReadable(string $path) |
|
31 |
+ * @method static bool isWritable(string $path) |
|
32 |
+ * @method static bool isFile(string $file) |
|
33 |
+ * @method static array glob(string $pattern, int $flags = 0) |
|
34 |
+ * @method static \Symfony\Component\Finder\SplFileInfo[] files(string $directory, bool $hidden = false) |
|
35 |
+ * @method static \Symfony\Component\Finder\SplFileInfo[] allFiles(string $directory, bool $hidden = false) |
|
36 |
+ * @method static array directories(string $directory) |
|
37 |
+ * @method static bool makeDirectory(string $path, int $mode = 0755, bool $recursive = false, bool $force = false) |
|
38 |
+ * @method static bool moveDirectory(string $from, string $to, bool $overwrite = false) |
|
39 |
+ * @method static bool copyDirectory(string $directory, string $destination, int|null $options = null) |
|
40 |
+ * @method static bool deleteDirectory(string $directory, bool $preserve = false) |
|
41 |
+ * @method static bool deleteDirectories(string $directory) |
|
42 |
+ * @method static bool cleanDirectory(string $directory) |
|
43 |
+ * |
|
44 |
+ * @see \Illuminate\Filesystem\Filesystem |
|
45 |
+ */ |
|
46 |
+class File extends Facade |
|
47 |
+{ |
|
48 |
+ /** |
|
49 |
+ * Get the registered name of the component. |
|
50 |
+ * |
|
51 |
+ * @return string |
|
52 |
+ */ |
|
53 |
+ protected static function getFacadeAccessor() |
|
54 |
+ { |
|
55 |
+ return 'files'; |
|
56 |
+ } |
|
57 |
+} |