Upload beautify
This commit is contained in:
17
app/DTOs/Uploads/UploadChunkResult.php
Normal file
17
app/DTOs/Uploads/UploadChunkResult.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\DTOs\Uploads;
|
||||
|
||||
final class UploadChunkResult
|
||||
{
|
||||
public function __construct(
|
||||
public readonly string $sessionId,
|
||||
public readonly string $status,
|
||||
public readonly int $receivedBytes,
|
||||
public readonly int $totalBytes,
|
||||
public readonly int $progress
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user