59 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
<?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';
 | 
						|
    }
 | 
						|
}
 |