App.php
1 month ago
Artisan.php
1 month ago
Auth.php
1 month ago
Blade.php
1 month ago
Broadcast.php
1 month ago
Bus.php
1 month ago
Cache.php
1 month ago
Config.php
1 month ago
Cookie.php
1 month ago
Crypt.php
1 month ago
DB.php
1 month ago
Date.php
1 month ago
Event.php
1 month ago
Facade.php
1 month ago
File.php
1 month ago
Gate.php
1 month ago
Hash.php
1 month ago
Http.php
1 month ago
Lang.php
1 month ago
Log.php
1 month ago
Mail.php
1 month ago
Notification.php
1 month ago
ParallelTesting.php
1 month ago
Password.php
1 month ago
Queue.php
1 month ago
RateLimiter.php
1 month ago
Redirect.php
1 month ago
Redis.php
1 month ago
Request.php
1 month ago
Response.php
1 month ago
Route.php
1 month ago
Schema.php
1 month ago
Session.php
1 month ago
Storage.php
1 month ago
URL.php
1 month ago
Validator.php
1 month ago
View.php
1 month ago
Vite.php
1 month ago
File.php
73 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Support\Facades; |
| 4 | |
| 5 | /** |
| 6 | * @method static bool exists(string $path) |
| 7 | * @method static bool missing(string $path) |
| 8 | * @method static string get(string $path, bool $lock = false) |
| 9 | * @method static string sharedGet(string $path) |
| 10 | * @method static mixed getRequire(string $path, array $data = []) |
| 11 | * @method static mixed requireOnce(string $path, array $data = []) |
| 12 | * @method static \Illuminate\Support\LazyCollection lines(string $path) |
| 13 | * @method static string hash(string $path, string $algorithm = 'md5') |
| 14 | * @method static int|bool put(string $path, string $contents, bool $lock = false) |
| 15 | * @method static void replace(string $path, string $content, int|null $mode = null) |
| 16 | * @method static void replaceInFile(array|string $search, array|string $replace, string $path) |
| 17 | * @method static int prepend(string $path, string $data) |
| 18 | * @method static int append(string $path, string $data) |
| 19 | * @method static mixed chmod(string $path, int|null $mode = null) |
| 20 | * @method static bool delete(string|array $paths) |
| 21 | * @method static bool move(string $path, string $target) |
| 22 | * @method static bool copy(string $path, string $target) |
| 23 | * @method static void link(string $target, string $link) |
| 24 | * @method static void relativeLink(string $target, string $link) |
| 25 | * @method static string name(string $path) |
| 26 | * @method static string basename(string $path) |
| 27 | * @method static string dirname(string $path) |
| 28 | * @method static string extension(string $path) |
| 29 | * @method static string|null guessExtension(string $path) |
| 30 | * @method static string type(string $path) |
| 31 | * @method static string|false mimeType(string $path) |
| 32 | * @method static int size(string $path) |
| 33 | * @method static int lastModified(string $path) |
| 34 | * @method static bool isDirectory(string $directory) |
| 35 | * @method static bool isEmptyDirectory(string $directory, bool $ignoreDotFiles = false) |
| 36 | * @method static bool isReadable(string $path) |
| 37 | * @method static bool isWritable(string $path) |
| 38 | * @method static bool hasSameHash(string $firstFile, string $secondFile) |
| 39 | * @method static bool isFile(string $file) |
| 40 | * @method static array glob(string $pattern, int $flags = 0) |
| 41 | * @method static \Symfony\Component\Finder\SplFileInfo[] files(string $directory, bool $hidden = false) |
| 42 | * @method static \Symfony\Component\Finder\SplFileInfo[] allFiles(string $directory, bool $hidden = false) |
| 43 | * @method static array directories(string $directory) |
| 44 | * @method static void ensureDirectoryExists(string $path, int $mode = 0755, bool $recursive = true) |
| 45 | * @method static bool makeDirectory(string $path, int $mode = 0755, bool $recursive = false, bool $force = false) |
| 46 | * @method static bool moveDirectory(string $from, string $to, bool $overwrite = false) |
| 47 | * @method static bool copyDirectory(string $directory, string $destination, int|null $options = null) |
| 48 | * @method static bool deleteDirectory(string $directory, bool $preserve = false) |
| 49 | * @method static bool deleteDirectories(string $directory) |
| 50 | * @method static bool cleanDirectory(string $directory) |
| 51 | * @method static \Illuminate\Filesystem\Filesystem|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) |
| 52 | * @method static \Illuminate\Filesystem\Filesystem|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) |
| 53 | * @method static void macro(string $name, object|callable $macro) |
| 54 | * @method static void mixin(object $mixin, bool $replace = true) |
| 55 | * @method static bool hasMacro(string $name) |
| 56 | * @method static void flushMacros() |
| 57 | * |
| 58 | * @see \Illuminate\Filesystem\Filesystem |
| 59 | * @internal |
| 60 | */ |
| 61 | class File extends Facade |
| 62 | { |
| 63 | /** |
| 64 | * Get the registered name of the component. |
| 65 | * |
| 66 | * @return string |
| 67 | */ |
| 68 | protected static function getFacadeAccessor() |
| 69 | { |
| 70 | return 'files'; |
| 71 | } |
| 72 | } |
| 73 |