src/RouteCollector.php
protected function addToDataGenerator(
        array $methods,
        array $routeDatas,
        string $routeName,
        DataGenerator $dataGenerator
    ) : DataGenerator {
        foreach ($methods as $method) {
            foreach ($routeDatas as $routeData) {
                $dataGenerator->addRoute($method, $routeData, $routeName);
            }
        }

        return $dataGenerator;
    }
protected function addToDataGenerator(
        array $methods,
        array $routeDatas,
        string $routeName,
        DataGenerator $dataGenerator
    ) : DataGenerator {
        foreach ($methods as $method) {
            foreach ($routeDatas as $routeData) {
                $dataGenerator->addRoute($method, $routeData, $routeName);
            }
        }

        return $dataGenerator;
    }
protected function addToDataGenerator ( array $ methods , array $ routeDatas , string $ routeName , DataGenerator $ dataGenerator ) : DataGenerator { foreach ( $ methods as $ method ) { foreach ( $ routeDatas as $ routeData ) { $ dataGenerator -> addRoute ( $ method , $ routeData , $ routeName ) ; } } return $ dataGenerator ; }
Set route data to DataGenerator

@param array $methods
@param array $routeDatas
@param DataGenerator $dataGenerator
@return DataGenerator
Set route data to DataGenerator