protected function addBackups(Configuration $configuration, array $laravelPhpbu)
    {
        // walk the the configured backups
        foreach (array_keys($this->types) as $type) {
            foreach ($laravelPhpbu[$type] as $conf) {
                // create and add a phpbu backup config
                $configuration->addBackup($this->translateBackup($type, $conf));
            }
        }
    }
protected function addBackups(Configuration $configuration, array $laravelPhpbu)
    {
        // walk the the configured backups
        foreach (array_keys($this->types) as $type) {
            foreach ($laravelPhpbu[$type] as $conf) {
                // create and add a phpbu backup config
                $configuration->addBackup($this->translateBackup($type, $conf));
            }
        }
    }
protected function addBackups ( Configuration $ configuration , array $ laravelPhpbu ) { // walk the the configured backups foreach ( array_keys ( $ this -> types ) as $ type ) { foreach ( $ laravelPhpbu [ $ type ] as $ conf ) { // create and add a phpbu backup config $ configuration -> addBackup ( $ this -> translateBackup ( $ type , $ conf ) ) ; } } }
Translate and add all configured backups.

@param \phpbu\App\Configuration $configuration
@param array                    $laravelPhpbu
Translate and add all configured backups .