PHP Class Vinkla\Backup\Sources\MysqlDumpSource

Author: Vincent Klaiber ([email protected])
Inheritance: implements Vinkla\Backup\Sources\SourceInterface
Afficher le fichier Open project: vinkla/backup

Protected Properties

Свойство Type Description
$config Illuminate\Contracts\Config\Repository The config repository instance.

Méthodes publiques

Méthode Description
__construct ( Illuminate\Contracts\Config\Repository $config ) : void Create a new database source instance.
bootstrap ( ) : Zenstruck\Backup\Source\MySqlDumpSource Bootstrap the source.
getName ( ) : string Get the source name.

Méthodes protégées

Méthode Description
getDatabaseConnection ( ) : string Get the database driver.

Method Details

__construct() public méthode

Create a new database source instance.
public __construct ( Illuminate\Contracts\Config\Repository $config ) : void
$config Illuminate\Contracts\Config\Repository
Résultat void

bootstrap() public méthode

Bootstrap the source.
public bootstrap ( ) : Zenstruck\Backup\Source\MySqlDumpSource
Résultat Zenstruck\Backup\Source\MySqlDumpSource

getDatabaseConnection() protected méthode

Get the database driver.
protected getDatabaseConnection ( ) : string
Résultat string

getName() public méthode

Get the source name.
public getName ( ) : string
Résultat string

Property Details

$config protected_oe property

The config repository instance.
protected Repository,Illuminate\Contracts\Config $config
Résultat Illuminate\Contracts\Config\Repository