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