Files
myep/src/BusProNet/Model/File.php
T
2025-07-14 17:15:15 +02:00

26 lines
593 B
PHP

<?php
declare(strict_types=1);
namespace App\BusProNet\Model;
/**
* Represents a file with content and metadata information.
*
* This class handles file data including filename, content, and MIME type
* for document storage and retrieval operations.
*/
class File
{
public function __construct(string $filename, string $content, string $mimeType)
{
$this->filename = $filename;
$this->content = $content;
$this->mimeType = $mimeType;
}
public ?string $filename = null;
public ?string $content = null;
public ?string $mimeType = null;
}