. */ declare(strict_types=1); namespace App\Services\InfoProviderSystem\DTOs; /** * This DTO represents a file that can be downloaded from a URL. * This could be a datasheet, a 3D model, a picture or similar. */ class FileDTO { /** * @param string $url The URL where to get this file * @param string|null $name Optionally the name of this file */ public function __construct( public readonly string $url, public readonly ?string $name = null, ) {} }