src/OaiPmh/HarvesterConsoleRunner.php
protected function harvestSingleRepository($target, $settings)
    {
        $settings['from'] = $this->opts->getOption('from');
        $settings['until'] = $this->opts->getOption('until');
        $settings['silent'] = false;
        $harvest = $this->factory->getHarvester(
            $target,
            $this->getHarvestRoot(),
            $this->getHttpClient(),
            $settings
        );
        $harvest->launch();
    }
protected function harvestSingleRepository($target, $settings)
    {
        $settings['from'] = $this->opts->getOption('from');
        $settings['until'] = $this->opts->getOption('until');
        $settings['silent'] = false;
        $harvest = $this->factory->getHarvester(
            $target,
            $this->getHarvestRoot(),
            $this->getHttpClient(),
            $settings
        );
        $harvest->launch();
    }
protected function harvestSingleRepository ( $ target , $ settings ) { $ settings [ 'from' ] = $ this -> opts -> getOption ( 'from' ) ; $ settings [ 'until' ] = $ this -> opts -> getOption ( 'until' ) ; $ settings [ 'silent' ] = false ; $ harvest = $ this -> factory -> getHarvester ( $ target , $ this -> getHarvestRoot ( ) , $ this -> getHttpClient ( ) , $ settings ) ; $ harvest -> launch ( ) ; }
Harvest a single repository.

@param string $target   Name of repo (used for target directory)
@param array  $settings Settings for the harvester.

@return void
@throws \Exception
Harvest a single repository .