src/Support/ExceptionGenerators/ChainedExceptionGeneratorService.php
protected function buildChain(Container $container, array $generators)
    {
        $chainBuilder = ExceptionGeneratorBuilder::create();

        foreach ($generators as $generator) {
            $chainBuilder->chain($container->make($generator));
        }

        return $chainBuilder->getChain();
    }
protected function buildChain(Container $container, array $generators)
    {
        $chainBuilder = ExceptionGeneratorBuilder::create();

        foreach ($generators as $generator) {
            $chainBuilder->chain($container->make($generator));
        }

        return $chainBuilder->getChain();
    }
@param Container $container
@param array     $generators

@return ExceptionGenerator