src/Cornford/Backup/Commands/BackupCommandAbstract.php
public function getBackupInstance($database = null)
	{
		$configuration = array_merge($this->getConfig('database'), $this->getConfig('backup::config'));
		$this->backupInstance = $this->backupFactory->build($configuration, $database);

		return $this->backupInstance;
	}
public function getBackupInstance($database = null)
	{
		$configuration = array_merge($this->getConfig('database'), $this->getConfig('backup::config'));
		$this->backupInstance = $this->backupFactory->build($configuration, $database);

		return $this->backupInstance;
	}
public function getBackupInstance ( $ database = null ) { $ configuration = array_merge ( $ this -> getConfig ( 'database' ) , $ this -> getConfig ( 'backup::config' ) ) ; $ this -> backupInstance = $ this -> backupFactory -> build ( $ configuration , $ database ) ; return $ this -> backupInstance ; }
Get a backup instance.

@param string $database

@return BackupInterface
Get a backup instance .