protected function addChecksIfConfigured(Configuration\Backup $backup, array $conf)
    {
        if (isset($conf['check'])) {
            $backup->addCheck(
                new Configuration\Backup\Check(
                    $conf['check']['type'],
                    $conf['check']['value']
                )
            );
        }
    }
protected function addChecksIfConfigured(Configuration\Backup $backup, array $conf)
    {
        if (isset($conf['check'])) {
            $backup->addCheck(
                new Configuration\Backup\Check(
                    $conf['check']['type'],
                    $conf['check']['value']
                )
            );
        }
    }
protected function addChecksIfConfigured ( Configuration \ Backup $ backup , array $ conf ) { if ( isset ( $ conf [ 'check' ] ) ) { $ backup -> addCheck ( new Configuration \ Backup \ Check ( $ conf [ 'check' ] [ 'type' ] , $ conf [ 'check' ] [ 'value' ] ) ) ; } }
Adds a check configuration to the given backup configuration.

@param \phpbu\App\Configuration\Backup $backup
@param array                           $conf
Adds a check configuration to the given backup configuration .