public function run()
    {
        Assertion::notEmpty(
            $this->loaders,
            'No loader attached.',
            DataAggregatorException::NO_LOADER_ATTACHED
        );

        foreach ($this->loaders as $identifier => $loader) {
            $this->executeLoader($loader);
        }
    }
public function run()
    {
        Assertion::notEmpty(
            $this->loaders,
            'No loader attached.',
            DataAggregatorException::NO_LOADER_ATTACHED
        );

        foreach ($this->loaders as $identifier => $loader) {
            $this->executeLoader($loader);
        }
    }
public function run ( ) { Assertion :: notEmpty ( $ this -> loaders , 'No loader attached.' , DataAggregatorException :: NO_LOADER_ATTACHED ) ; foreach ( $ this -> loaders as $ identifier => $ loader ) { $ this -> executeLoader ( $ loader ) ; } }
Executes the processing of every attached loader.

Run each loader with limit and offset as long as it
returns not less than the limit of items persist
after each batch.

@throws \Assert\InvalidArgumentException in case no loader is attached.
Executes the processing of every attached loader .