src/OaiPmh/HarvesterConsoleRunner.php
protected function getSettings()
    {
        $ini = $this->opts->getOption('ini');
        $argv = $this->opts->getRemainingArgs();
        $section = $argv[0] ?? false;
        if (!$ini && !$section) {
            $this->writeLine(
                'Please specify an .ini file with the --ini flag'
                . ' or a target directory with the first parameter.'
            );
            return false;
        }
        return $ini
            ? $this->getSettingsFromIni($ini, $section)
            : [$section => []];
    }
protected function getSettings()
    {
        $ini = $this->opts->getOption('ini');
        $argv = $this->opts->getRemainingArgs();
        $section = $argv[0] ?? false;
        if (!$ini && !$section) {
            $this->writeLine(
                'Please specify an .ini file with the --ini flag'
                . ' or a target directory with the first parameter.'
            );
            return false;
        }
        return $ini
            ? $this->getSettingsFromIni($ini, $section)
            : [$section => []];
    }
protected function getSettings ( ) { $ ini = $ this -> opts -> getOption ( 'ini' ) ; $ argv = $ this -> opts -> getRemainingArgs ( ) ; $ section = $ argv [ 0 ] ?? false ; if ( ! $ ini && ! $ section ) { $ this -> writeLine ( 'Please specify an .ini file with the --ini flag' . ' or a target directory with the first parameter.' ) ; return false ; } return $ ini ? $ this -> getSettingsFromIni ( $ ini , $ section ) : [ $ section => [ ] ] ; }
Load the harvest settings. Return false on error.

@return array|bool
Load the harvest settings . Return false on error .