Свойство | Type | Description | |
---|---|---|---|
$fileSystem | Illuminate\Contracts\Filesystem\Factory | ||
$storageInstance | Illuminate\Contracts\Filesystem\Filesystem |
Méthode | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Filesystem\Factory $fileSystem ) | FileService constructor. |
Méthode | 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 | ||
Résultat | Illuminate\Contracts\Filesystem\Filesystem |
protected isFolderEmpty ( $path ) : boolean | ||
$path | ||
Résultat | boolean |
protected Factory,Illuminate\Contracts\Filesystem $fileSystem | ||
Résultat | Illuminate\Contracts\Filesystem\Factory |