PHP Class Vinkla\Backup\ProfileRegistryFactory

Author: Vincent Klaiber ([email protected])
Mostrar archivo Open project: vinkla/backup Class Usage Examples

Protected Properties

Property Type Description
$builder Zenstruck\Backup\ProfileBuilder The profile builder.

Public Methods

Method Description
__construct ( Zenstruck\Backup\ProfileBuilder $builder ) : void Create a new profile registry factory instance.
make ( array $config ) : Zenstruck\Backup\ProfileRegistry Make the profile registry.

Protected Methods

Method Description
getConfig ( array $config ) : array Get the configuration data.
getProfileRegistry ( array $config ) : Zenstruck\Backup\ProfileRegistry Get the profile registry.

Method Details

__construct() public method

Create a new profile registry factory instance.
public __construct ( Zenstruck\Backup\ProfileBuilder $builder ) : void
$builder Zenstruck\Backup\ProfileBuilder
return void

getConfig() protected method

Get the configuration data.
protected getConfig ( array $config ) : array
$config array
return array

getProfileRegistry() protected method

Get the profile registry.
protected getProfileRegistry ( array $config ) : Zenstruck\Backup\ProfileRegistry
$config array
return Zenstruck\Backup\ProfileRegistry

make() public method

Make the profile registry.
public make ( array $config ) : Zenstruck\Backup\ProfileRegistry
$config array
return Zenstruck\Backup\ProfileRegistry

Property Details

$builder protected_oe property

The profile builder.
protected ProfileBuilder,Zenstruck\Backup $builder
return Zenstruck\Backup\ProfileBuilder