프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$fileSystem | Illuminate\Contracts\Filesystem\Factory | ||
$storageInstance | Illuminate\Contracts\Filesystem\Filesystem |
메소드 | 설명 | |
---|---|---|
__construct ( Illuminate\Contracts\Filesystem\Factory $fileSystem ) | FileService constructor. |
메소드 | 설명 | |
---|---|---|
getStorage ( ) : Illuminate\Contracts\Filesystem\Filesystem | Get the storage that will be used for storing images. | |
isFolderEmpty ( $path ) : boolean | Check whether or not a folder is empty. | |
isLocal ( ) : boolean | Check if using a local filesystem. |
public __construct ( Illuminate\Contracts\Filesystem\Factory $fileSystem ) | ||
$fileSystem | Illuminate\Contracts\Filesystem\Factory |
protected getStorage ( ) : Illuminate\Contracts\Filesystem\Filesystem | ||
리턴 | Illuminate\Contracts\Filesystem\Filesystem |
protected isFolderEmpty ( $path ) : boolean | ||
$path | ||
리턴 | boolean |
protected Factory,Illuminate\Contracts\Filesystem $fileSystem | ||
리턴 | Illuminate\Contracts\Filesystem\Factory |