src/Concerns/Request/Multipart.php
final protected function addFilesToMultipartBuilder(Builder $builder, array $files = []): void
    {
        foreach ($files as $key => $file) {
            if (! \is_null($file)) {
                $builder->addResource($key, fopen($file, 'r'));
            }
        }
    }
final protected function addFilesToMultipartBuilder(Builder $builder, array $files = []): void
    {
        foreach ($files as $key => $file) {
            if (! \is_null($file)) {
                $builder->addResource($key, fopen($file, 'r'));
            }
        }
    }
final protected function addFilesToMultipartBuilder ( Builder $ builder , array $ files = [ ] ) : void { foreach ( $ files as $ key => $ file ) { if ( ! \ is_null ( $ file ) ) { $ builder -> addResource ( $ key , fopen ( $ file , 'r' ) ) ; } } }
Add files to multipart stream builder.

@param  \Http\Message\MultipartStream\MultipartStreamBuilder  $builder
@param  array  $files

@return void
Add files to multipart stream builder .