PHP Class Vinkla\Backup\Commands\AbstractCommand

Author: Vincent Klaiber ([email protected])
Inheritance: extends Illuminate\Console\Command
Datei anzeigen Open project: vinkla/laravel-backup

Protected Properties

Property Type Description
$config Illuminate\Contracts\Config\Repository The config repository instance.
$executor Zenstruck\Backup\Executor The executor instance.
$registry Vinkla\Backup\ProfileRegistryFactory The profile registry instance.

Public Methods

Method Description
__construct ( Illuminate\Contracts\Config\Repository $config, ProfileRegistryFactory $registry, Zenstruck\Backup\Executor $executor ) : void Create a new abstract command instance.

Protected Methods

Method Description
getProfileName ( ) : string Get the profile name.
getRegistry ( ) : Zenstruck\Backup\ProfileRegistry Get the profile registry.

Method Details

__construct() public method

Create a new abstract command instance.
public __construct ( Illuminate\Contracts\Config\Repository $config, ProfileRegistryFactory $registry, Zenstruck\Backup\Executor $executor ) : void
$config Illuminate\Contracts\Config\Repository
$registry Vinkla\Backup\ProfileRegistryFactory
$executor Zenstruck\Backup\Executor
return void

getProfileName() protected method

Get the profile name.
protected getProfileName ( ) : string
return string

getRegistry() protected method

Get the profile registry.
protected getRegistry ( ) : Zenstruck\Backup\ProfileRegistry
return Zenstruck\Backup\ProfileRegistry

Property Details

$config protected_oe property

The config repository instance.
protected Repository,Illuminate\Contracts\Config $config
return Illuminate\Contracts\Config\Repository

$executor protected_oe property

The executor instance.
protected Executor,Zenstruck\Backup $executor
return Zenstruck\Backup\Executor

$registry protected_oe property

The profile registry instance.
protected ProfileRegistryFactory,Vinkla\Backup $registry
return Vinkla\Backup\ProfileRegistryFactory