PHP Класс Vinkla\Backup\Backup

Автор: Vincent Klaiber ([email protected])
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

Create a new backup instance.
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
Результат void

getProfile() публичный Метод

Get the backup profile.
public getProfile ( ) : string
Результат string

profile() публичный Метод

Set the backup profile.
public profile ( string $profile ) : self
$profile string
Результат self

run() публичный Метод

Execute the backup.
public run ( boolean $clear = false ) : void
$clear boolean
Результат void

setProfile() публичный Метод

Set the backup profile.
public setProfile ( string $profile ) : void
$profile string
Результат void

Описание свойств

$config защищенное свойство

The config repository.
protected Repository,Illuminate\Contracts\Config $config
Результат Illuminate\Contracts\Config\Repository

$executor защищенное свойство

The executor instance.
protected Executor,Zenstruck\Backup $executor
Результат Zenstruck\Backup\Executor

$profile защищенное свойство

The backup profile.
protected string $profile
Результат string

$registry защищенное свойство

The profile registry.
protected ProfileRegistry,Zenstruck\Backup $registry
Результат Zenstruck\Backup\ProfileRegistry