PHP 클래스 Vinkla\Backup\Backup

저자: Vincent Klaiber ([email protected])
파일 보기 프로젝트 열기: vinkla/backup

보호된 프로퍼티들

프로퍼티 타입 설명
$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