X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/vendor/illuminate/support/Facades
home
/
gfecatvj
/
sites
/
vendor
/
illuminate
/
support
/
Facades
/
📁
..
📄
App.php
(2.34 KB)
📄
Artisan.php
(1.06 KB)
📄
Auth.php
(2.37 KB)
📄
Blade.php
(1.57 KB)
📄
Broadcast.php
(740 B)
📄
Bus.php
(1.78 KB)
📄
Cache.php
(1.6 KB)
📄
Config.php
(557 B)
📄
Cookie.php
(973 B)
📄
Crypt.php
(718 B)
📄
DB.php
(1.65 KB)
📄
Date.php
(5.46 KB)
📄
Event.php
(2.53 KB)
📄
Facade.php
(5.96 KB)
📄
File.php
(2.6 KB)
📄
Gate.php
(1.67 KB)
📄
Hash.php
(585 B)
📄
Http.php
(3.04 KB)
📄
Lang.php
(668 B)
📄
Log.php
(1.05 KB)
📄
Mail.php
(1.94 KB)
📄
Notification.php
(2.01 KB)
📄
Password.php
(1.11 KB)
📄
Queue.php
(1.9 KB)
📄
Redirect.php
(2 KB)
📄
Redis.php
(625 B)
📄
Request.php
(4.96 KB)
📄
Response.php
(2.35 KB)
📄
Route.php
(3.19 KB)
📄
Schema.php
(1.59 KB)
📄
Session.php
(1.37 KB)
📄
Storage.php
(3.51 KB)
📄
URL.php
(1.4 KB)
📄
Validator.php
(733 B)
📄
View.php
(1.12 KB)
Editing: Storage.php
<?php namespace Illuminate\Support\Facades; use Illuminate\Filesystem\Filesystem; /** * @method static \Illuminate\Contracts\Filesystem\Filesystem assertExists(string|array $path) * @method static \Illuminate\Contracts\Filesystem\Filesystem assertMissing(string|array $path) * @method static \Illuminate\Contracts\Filesystem\Filesystem cloud() * @method static \Illuminate\Contracts\Filesystem\Filesystem disk(string $name = null) * @method static array allDirectories(string|null $directory = null) * @method static array allFiles(string|null $directory = null) * @method static array directories(string|null $directory = null, bool $recursive = false) * @method static array files(string|null $directory = null, bool $recursive = false) * @method static bool append(string $path, string $data) * @method static bool copy(string $from, string $to) * @method static bool delete(string|array $paths) * @method static bool deleteDirectory(string $directory) * @method static bool exists(string $path) * @method static bool makeDirectory(string $path) * @method static bool move(string $from, string $to) * @method static bool prepend(string $path, string $data) * @method static bool put(string $path, string|resource $contents, mixed $options = []) * @method static string|false putFile(string $path, \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string $file, mixed $options = []) * @method static string|false putFileAs(string $path, \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string $file, string $name, mixed $options = []) * @method static bool setVisibility(string $path, string $visibility) * @method static bool writeStream(string $path, resource $resource, array $options = []) * @method static int lastModified(string $path) * @method static int size(string $path) * @method static resource|null readStream(string $path) * @method static string get(string $path) * @method static string getVisibility(string $path) * @method static string temporaryUrl(string $path, \DateTimeInterface $expiration, array $options = []) * @method static string url(string $path) * * @see \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade { /** * Replace the given disk with a local testing disk. * * @param string|null $disk * @param array $config * @return \Illuminate\Contracts\Filesystem\Filesystem */ public static function fake($disk = null, array $config = []) { $disk = $disk ?: static::$app['config']->get('filesystems.default'); (new Filesystem)->cleanDirectory( $root = storage_path('framework/testing/disks/'.$disk) ); static::set($disk, $fake = static::createLocalDriver(array_merge($config, [ 'root' => $root, ]))); return $fake; } /** * Replace the given disk with a persistent local testing disk. * * @param string|null $disk * @param array $config * @return \Illuminate\Contracts\Filesystem\Filesystem */ public static function persistentFake($disk = null, array $config = []) { $disk = $disk ?: static::$app['config']->get('filesystems.default'); static::set($disk, $fake = static::createLocalDriver(array_merge($config, [ 'root' => storage_path('framework/testing/disks/'.$disk), ]))); return $fake; } /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'filesystem'; } }
Upload File
Create Folder