src/Leevel/Http/Leevel2Psr.php
protected function createUploadedFile(UploadedFile $leevelUploadedFile): UploadedFileInterface
    {
        return new DiactorosUploadedFile(
            $leevelUploadedFile->getRealPath(),
            (int) $leevelUploadedFile->getSize(),
            $leevelUploadedFile->getError(),
            $leevelUploadedFile->getOriginalName(),
            $leevelUploadedFile->getMimeType()
        );
    }
protected function createUploadedFile(UploadedFile $leevelUploadedFile): UploadedFileInterface
    {
        return new DiactorosUploadedFile(
            $leevelUploadedFile->getRealPath(),
            (int) $leevelUploadedFile->getSize(),
            $leevelUploadedFile->getError(),
            $leevelUploadedFile->getOriginalName(),
            $leevelUploadedFile->getMimeType()
        );
    }
创建 PSR-7 上传对象.

@param \Leevel\Http\UploadedFile $leevelUploadedFile

@return \Psr\Http\Message\UploadedFileInterface