public static function createMany(array $datasets) : array
    {
        $models = [];

        foreach ($datasets as $dataset) {
            $models[] = static::create($dataset);
        }

        return $models;
    }
public static function createMany(array $datasets) : array
    {
        $models = [];

        foreach ($datasets as $dataset) {
            $models[] = static::create($dataset);
        }

        return $models;
    }
public static function createMany ( array $ datasets ) : array { $ models = [ ] ; foreach ( $ datasets as $ dataset ) { $ models [ ] = static :: create ( $ dataset ) ; } return $ models ; }
Creates many Models.

@param array $datasets The data array of arrays.

@return array The created models array.
Creates many Models .