src/Execution/MutationExecutor.php
protected static function handleMultiRelationCreate(Collection $multiValues, Relation $relation): void
    {
        $multiValues->each(function ($singleValues) use ($relation): void {
            self::handleSingleRelationCreate(new Collection($singleValues), $relation);
        });
    }
protected static function handleMultiRelationCreate(Collection $multiValues, Relation $relation): void
    {
        $multiValues->each(function ($singleValues) use ($relation): void {
            self::handleSingleRelationCreate(new Collection($singleValues), $relation);
        });
    }
protected static function handleMultiRelationCreate ( Collection $ multiValues , Relation $ relation ) : void { $ multiValues -> each ( function ( $ singleValues ) use ( $ relation ) : void { self :: handleSingleRelationCreate ( new Collection ( $ singleValues ) , $ relation ) ; } ) ; }
Handle the creation with multiple relations.

@param  \Illuminate\Support\Collection  $multiValues
@param  \Illuminate\Database\Eloquent\Relations\Relation  $relation
@return void
Handle the creation with multiple relations .