Property | Type | Description | |
---|---|---|---|
$fileSystem | Illuminate\Contracts\Filesystem\Factory | ||
$storageInstance | Illuminate\Contracts\Filesystem\Filesystem |
Method | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Filesystem\Factory $fileSystem ) | FileService constructor. |
Method | Description | |
---|---|---|
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 | ||
return | Illuminate\Contracts\Filesystem\Filesystem |
protected isFolderEmpty ( $path ) : boolean | ||
$path | ||
return | boolean |
protected Factory,Illuminate\Contracts\Filesystem $fileSystem | ||
return | Illuminate\Contracts\Filesystem\Factory |