PHP Class Spatie\Backup\BackupDestination\Backup

Afficher le fichier Open project: spatie/laravel-backup Class Usage Examples

Protected Properties

Свойство Type Description
$disk Illuminate\Contracts\Filesystem\Filesystem
$path string

Méthodes publiques

Méthode Description
__construct ( Illuminate\Contracts\Filesystem\Filesystem $disk, string $path )
date ( ) : Carbon\Carbon
delete ( ) Delete the backup from the disk.
exists ( ) : boolean
path ( ) : string
size ( ) : integer Get the size in bytes.

Method Details

__construct() public méthode

public __construct ( Illuminate\Contracts\Filesystem\Filesystem $disk, string $path )
$disk Illuminate\Contracts\Filesystem\Filesystem
$path string

date() public méthode

public date ( ) : Carbon\Carbon
Résultat Carbon\Carbon

delete() public méthode

Delete the backup from the disk.
public delete ( )

exists() public méthode

public exists ( ) : boolean
Résultat boolean

path() public méthode

public path ( ) : string
Résultat string

size() public méthode

Get the size in bytes.
public size ( ) : integer
Résultat integer

Property Details

$disk protected_oe property

protected Filesystem,Illuminate\Contracts\Filesystem $disk
Résultat Illuminate\Contracts\Filesystem\Filesystem

$path protected_oe property

protected string $path
Résultat string