Property | Type | Description | |
---|---|---|---|
$config | Illuminate\Contracts\Config\Repository | The config repository. | |
$executor | Zenstruck\Backup\Executor | The executor instance. | |
$profile | string | The backup profile. | |
$registry | Zenstruck\Backup\ProfileRegistry | The profile registry. |
Method | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Config\Repository $config, Zenstruck\Backup\ProfileRegistry $registry, Zenstruck\Backup\Executor $executor ) : void | Create a new backup instance. | |
getProfile ( ) : string | Get the backup profile. | |
profile ( string $profile ) : self | Set the backup profile. | |
run ( boolean $clear = false ) : void | Execute the backup. | |
setProfile ( string $profile ) : void | Set the backup profile. |
public __construct ( Illuminate\Contracts\Config\Repository $config, Zenstruck\Backup\ProfileRegistry $registry, Zenstruck\Backup\Executor $executor ) : void | ||
$config | Illuminate\Contracts\Config\Repository | |
$registry | Zenstruck\Backup\ProfileRegistry | |
$executor | Zenstruck\Backup\Executor | |
return | void |
public setProfile ( string $profile ) : void | ||
$profile | string | |
return | void |
protected Repository,Illuminate\Contracts\Config $config | ||
return | Illuminate\Contracts\Config\Repository |
protected Executor,Zenstruck\Backup $executor | ||
return | Zenstruck\Backup\Executor |