Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
BackupInterface Interface Reference
Inheritance diagram for BackupInterface:
Backup

Public Member Functions

 setTime ($time)
 
 setType ($type)
 
 setPath ($path)
 
 setName ($name)
 
 open ($write=false)
 
 write ($data)
 
 close ()
 

Detailed Description

@api

Deprecated:
Backups should be done using other means.
Since
100.0.2

Definition at line 14 of file BackupInterface.php.

Member Function Documentation

◆ close()

close ( )

Close open backup file

Returns
$this

Implemented in Backup.

◆ open()

open (   $write = false)

Open backup file (write or read mode)

Parameters
bool$write
Returns
$this

◆ setName()

setName (   $name)

Set backup name

Parameters
string$name
Returns
$this

Implemented in Backup.

◆ setPath()

setPath (   $path)

Set backup path

Parameters
string$path
Returns
$this

Implemented in Backup.

◆ setTime()

setTime (   $time)

Set backup time

Parameters
int$time
Returns
$this

Implemented in Backup.

◆ setType()

setType (   $type)

Set backup type

Parameters
string$type
Returns
$this

Implemented in Backup.

◆ write()

write (   $data)

Write to backup file

Parameters
string$data
Returns
$this

Implemented in Backup.


The documentation for this interface was generated from the following file: